Skip to content

Releases: mrcjkb/neotest-haskell

2.1.0

18 Jul 21:20
Compare
Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[2.1.0] - 2024-07-18

Added

  • Add tree-sitter-haskell to rockspec dependencies.

[2.0.0] - 2024-05-12

BREAKING CHANGES

  • Updated queries to work with tree-sitter-haskell v0.21.0 rewrite.
    • If you are using nvim-treesitter to manage parser installations, run :TSUpdate
      to ensure you have the latest tree-sitter-haskell version.
    • If you are using Nix with an older version of the parser,
      you can either package tree-sitter-haskell,
      or pin an older version of this plugin.

[1.2.1] - 2024-04-06

Fixed

  • Typo in tasty module.

[1.2.0] - 2024-03-13

Added

  • tree-sitter-haskell parser declared in rockspec dependencies.
    Supports automatic installation with rocks.nvim.

[1.1.0] - 2023-12-22

Added

  • LuaRocks releases.

[1.0.2] - 2023-11-05

Fixed

  • Health check: Fix broken tree-sitter parser check.

[1.0.1] - 2023-10-29

Changed

  • Remove plenary.nvim dependency.
    This does not bump any version requirements, and is not a breaking change.

[1.0.0] - 2023-10-13

Changed

  • POTENTIALLY BREAKING: remove nvim-treesitter dependency.
    It is advised to be on at least Neovim v0.9.0 to use this
    plugin without nvim-treesitter.
    The tree-sitter parser for Haskell
    still has to be installed.

[0.8.5] - 2023-09-02

Changed

  • Some plugin startup time improvements.

[0.8.4] - 2023-06-19

Fixed

  • Don't pass -p option to tasty if no paths to filter on are detected.
  • Tree-sitter root node detection in test files for which namespaces
    cannot be detected: Allow test nodes to be root nodes, too.
  • Treat all files with spec or test in the path as test files.

[0.8.3] - 2023-06-12

Fixed

  • Add missing tasty-golden goldenVsString query.

[0.8.2] - 2023-05-22

Fixed

  • Do not use deprecated health check API in neovim > 0.9.

[0.8.1] - 2023-04-15

Fixed

[0.8.0] - 2023-03-31

Added

  • Support for the sydtest test framework.
  • Move position queries to queries/haskell/<framework>-positions.scm
    and queries/haskell/<framework>-test. This allows the addition of extra
    queries to $XDG_CONFIG_HOME/nvim/after/queries/haskell/<framework>-positions.scm

Fixed

  • Hspec: support context, xcontext, specify and xspecify

[0.7.0] - 2023-03-22

Added

  • Support configuring which modules are used to identify test frameworks.

[0.6.0] - 2023-03-19

Added

  • Support for the tasty test framework.
  • Tested with:
    • tasty-hspec
    • tasty-hunit
    • tasty-quickcheck
    • tasty-smallcheck
    • tasty-hedgehog
    • tasty-leancheck
    • tasty-expected-failure
    • tasty-program
    • tasty-wai

[0.5.0] - 2023-03-12

Added

  • Health checks (:help checkhealth).
  • Hspec: Support for skipped tests (xdescribe xit, xprop).

[0.4.0] - 2023-03-10

Added

  • Configuration option build_tools which allows selection of one's preferred build tool to run tests.

Changed

  • Improved and simplified Hspec test/namespace position discovery.
  • Improved parsing of Hspec test results.
  • Do not send a notification with Hspec --match expression.

Fixed

  • Run all top-level tests in tests of type file (#50).

[0.3.0] - 2023-02-28

Added

  • Support for test files (See #45).
    Running neotes.run.run(vim.api.nvim_buf_get_name) will now run a single process for the top-level Hspec node.
  • Support for simple cabal projects. These are projects with a single package and no cabal.project file.

[0.2.2] - 2023-01-14

Fixed

  • Trims string ends from failed test results
  • Packer init in minimal config for reproducing issues locally.

[0.2.1] - 2022-10-29

Fixed

  • Virtual text not displayed if test name contains lua match special characters.
  • Detect files ending in "Tests.hs" as test files

[0.2.0] - 2022-10-12

Added

  • Stack support!

Fixed

  • Error message when running outside of test definitions.
  • Virtual text not shown when cursor is on it or prop test.

[0.1.1] - 2022-10-12

Fixed

Changed

[0.1.0] - 2022-10-11

Added

  • Parse hspec test results and display error messages as virtual text.

[0.0.3] - 2022-10-10

Fixed

  • Remove double-quotes from match argument, which caused hspec not to be able ot find any matches.

[0.0.2] - 2022-09-25

Changed

  • Simplify generated cabal command to run new-test instead of new-run.
    Previously, the generated command would have looked like this:
    cabal new-run <test-suite-name> -- -m "/path/to/hspec/branch/"
    Now it looks like this:
    cabal new-test <(sub)package-name> --test-argument -m --test-argument "/path/to/hspec/branch/"
    The reason for this change is to make it Cabal's responsibility to ensure the correct tests are run if a package has more than one test suite.
    With the previous approach, it was possible to run the wrong test suite without any matches.

2.0.0

12 May 16:38
1998a37
Compare
Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[2.0.0] - 2024-05-12

BREAKING CHANGES

  • Updated queries to work with tree-sitter-haskell v0.21.0 rewrite.
    • If you are using nvim-treesitter to manage parser installations, run :TSUpdate
      to ensure you have the latest tree-sitter-haskell version.
    • If you are using Nix with an older version of the parser,
      you can either package tree-sitter-haskell,
      or pin an older version of this plugin.

[1.2.1] - 2024-04-06

Fixed

  • Typo in tasty module.

[1.2.0] - 2024-03-13

Added

  • tree-sitter-haskell parser declared in rockspec dependencies.
    Supports automatic installation with rocks.nvim.

[1.1.0] - 2023-12-22

Added

  • LuaRocks releases.

[1.0.2] - 2023-11-05

Fixed

  • Health check: Fix broken tree-sitter parser check.

[1.0.1] - 2023-10-29

Changed

  • Remove plenary.nvim dependency.
    This does not bump any version requirements, and is not a breaking change.

[1.0.0] - 2023-10-13

Changed

  • POTENTIALLY BREAKING: remove nvim-treesitter dependency.
    It is advised to be on at least Neovim v0.9.0 to use this
    plugin without nvim-treesitter.
    The tree-sitter parser for Haskell
    still has to be installed.

[0.8.5] - 2023-09-02

Changed

  • Some plugin startup time improvements.

[0.8.4] - 2023-06-19

Fixed

  • Don't pass -p option to tasty if no paths to filter on are detected.
  • Tree-sitter root node detection in test files for which namespaces
    cannot be detected: Allow test nodes to be root nodes, too.
  • Treat all files with spec or test in the path as test files.

[0.8.3] - 2023-06-12

Fixed

  • Add missing tasty-golden goldenVsString query.

[0.8.2] - 2023-05-22

Fixed

  • Do not use deprecated health check API in neovim > 0.9.

[0.8.1] - 2023-04-15

Fixed

[0.8.0] - 2023-03-31

Added

  • Support for the sydtest test framework.
  • Move position queries to queries/haskell/<framework>-positions.scm
    and queries/haskell/<framework>-test. This allows the addition of extra
    queries to $XDG_CONFIG_HOME/nvim/after/queries/haskell/<framework>-positions.scm

Fixed

  • Hspec: support context, xcontext, specify and xspecify

[0.7.0] - 2023-03-22

Added

  • Support configuring which modules are used to identify test frameworks.

[0.6.0] - 2023-03-19

Added

  • Support for the tasty test framework.
  • Tested with:
    • tasty-hspec
    • tasty-hunit
    • tasty-quickcheck
    • tasty-smallcheck
    • tasty-hedgehog
    • tasty-leancheck
    • tasty-expected-failure
    • tasty-program
    • tasty-wai

[0.5.0] - 2023-03-12

Added

  • Health checks (:help checkhealth).
  • Hspec: Support for skipped tests (xdescribe xit, xprop).

[0.4.0] - 2023-03-10

Added

  • Configuration option build_tools which allows selection of one's preferred build tool to run tests.

Changed

  • Improved and simplified Hspec test/namespace position discovery.
  • Improved parsing of Hspec test results.
  • Do not send a notification with Hspec --match expression.

Fixed

  • Run all top-level tests in tests of type file (#50).

[0.3.0] - 2023-02-28

Added

  • Support for test files (See #45).
    Running neotes.run.run(vim.api.nvim_buf_get_name) will now run a single process for the top-level Hspec node.
  • Support for simple cabal projects. These are projects with a single package and no cabal.project file.

[0.2.2] - 2023-01-14

Fixed

  • Trims string ends from failed test results
  • Packer init in minimal config for reproducing issues locally.

[0.2.1] - 2022-10-29

Fixed

  • Virtual text not displayed if test name contains lua match special characters.
  • Detect files ending in "Tests.hs" as test files

[0.2.0] - 2022-10-12

Added

  • Stack support!

Fixed

  • Error message when running outside of test definitions.
  • Virtual text not shown when cursor is on it or prop test.

[0.1.1] - 2022-10-12

Fixed

Changed

[0.1.0] - 2022-10-11

Added

  • Parse hspec test results and display error messages as virtual text.

[0.0.3] - 2022-10-10

Fixed

  • Remove double-quotes from match argument, which caused hspec not to be able ot find any matches.

[0.0.2] - 2022-09-25

Changed

  • Simplify generated cabal command to run new-test instead of new-run.
    Previously, the generated command would have looked like this:
    cabal new-run <test-suite-name> -- -m "/path/to/hspec/branch/"
    Now it looks like this:
    cabal new-test <(sub)package-name> --test-argument -m --test-argument "/path/to/hspec/branch/"
    The reason for this change is to make it Cabal's responsibility to ensure the correct tests are run if a package has more than one test suite.
    With the previous approach, it was possible to run the wrong test suite without any matches.

1.2.0

13 Mar 17:53
Compare
Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[1.2.0] - 2024-03-13

Added

  • tree-sitter-haskell parser declared in rockspec dependencies.
    Supports automatic installation with rocks.nvim.

[1.1.0] - 2023-12-22

Added

  • LuaRocks releases.

[1.0.2] - 2023-11-05

Fixed

  • Health check: Fix broken tree-sitter parser check.

[1.0.1] - 2023-10-29

Changed

  • Remove plenary.nvim dependency.
    This does not bump any version requirements, and is not a breaking change.

[1.0.0] - 2023-10-13

Changed

  • POTENTIALLY BREAKING: remove nvim-treesitter dependency.
    It is advised to be on at least Neovim v0.9.0 to use this
    plugin without nvim-treesitter.
    The tree-sitter parser for Haskell
    still has to be installed.

[0.8.5] - 2023-09-02

Changed

  • Some plugin startup time improvements.

[0.8.4] - 2023-06-19

Fixed

  • Don't pass -p option to tasty if no paths to filter on are detected.
  • Tree-sitter root node detection in test files for which namespaces
    cannot be detected: Allow test nodes to be root nodes, too.
  • Treat all files with spec or test in the path as test files.

[0.8.3] - 2023-06-12

Fixed

  • Add missing tasty-golden goldenVsString query.

[0.8.2] - 2023-05-22

Fixed

  • Do not use deprecated health check API in neovim > 0.9.

[0.8.1] - 2023-04-15

Fixed

[0.8.0] - 2023-03-31

Added

  • Support for the sydtest test framework.
  • Move position queries to queries/haskell/<framework>-positions.scm
    and queries/haskell/<framework>-test. This allows the addition of extra
    queries to $XDG_CONFIG_HOME/nvim/after/queries/haskell/<framework>-positions.scm

Fixed

  • Hspec: support context, xcontext, specify and xspecify

[0.7.0] - 2023-03-22

Added

  • Support configuring which modules are used to identify test frameworks.

[0.6.0] - 2023-03-19

Added

  • Support for the tasty test framework.
  • Tested with:
    • tasty-hspec
    • tasty-hunit
    • tasty-quickcheck
    • tasty-smallcheck
    • tasty-hedgehog
    • tasty-leancheck
    • tasty-expected-failure
    • tasty-program
    • tasty-wai

[0.5.0] - 2023-03-12

Added

  • Health checks (:help checkhealth).
  • Hspec: Support for skipped tests (xdescribe xit, xprop).

[0.4.0] - 2023-03-10

Added

  • Configuration option build_tools which allows selection of one's preferred build tool to run tests.

Changed

  • Improved and simplified Hspec test/namespace position discovery.
  • Improved parsing of Hspec test results.
  • Do not send a notification with Hspec --match expression.

Fixed

  • Run all top-level tests in tests of type file (#50).

[0.3.0] - 2023-02-28

Added

  • Support for test files (See #45).
    Running neotes.run.run(vim.api.nvim_buf_get_name) will now run a single process for the top-level Hspec node.
  • Support for simple cabal projects. These are projects with a single package and no cabal.project file.

[0.2.2] - 2023-01-14

Fixed

  • Trims string ends from failed test results
  • Packer init in minimal config for reproducing issues locally.

[0.2.1] - 2022-10-29

Fixed

  • Virtual text not displayed if test name contains lua match special characters.
  • Detect files ending in "Tests.hs" as test files

[0.2.0] - 2022-10-12

Added

  • Stack support!

Fixed

  • Error message when running outside of test definitions.
  • Virtual text not shown when cursor is on it or prop test.

[0.1.1] - 2022-10-12

Fixed

Changed

[0.1.0] - 2022-10-11

Added

  • Parse hspec test results and display error messages as virtual text.

[0.0.3] - 2022-10-10

Fixed

  • Remove double-quotes from match argument, which caused hspec not to be able ot find any matches.

[0.0.2] - 2022-09-25

Changed

  • Simplify generated cabal command to run new-test instead of new-run.
    Previously, the generated command would have looked like this:
    cabal new-run <test-suite-name> -- -m "/path/to/hspec/branch/"
    Now it looks like this:
    cabal new-test <(sub)package-name> --test-argument -m --test-argument "/path/to/hspec/branch/"
    The reason for this change is to make it Cabal's responsibility to ensure the correct tests are run if a package has more than one test suite.
    With the previous approach, it was possible to run the wrong test suite without any matches.

1.1.0

22 Dec 00:30
3286c40
Compare
Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[1.1.0] - 2023-12-22

Added

  • LuaRocks releases.

[1.0.2] - 2023-11-05

Fixed

  • Health check: Fix broken tree-sitter parser check.

[1.0.1] - 2023-10-29

Changed

  • Remove plenary.nvim dependency.
    This does not bump any version requirements, and is not a breaking change.

[1.0.0] - 2023-10-13

Changed

  • POTENTIALLY BREAKING: remove nvim-treesitter dependency.
    It is advised to be on at least Neovim v0.9.0 to use this
    plugin without nvim-treesitter.
    The tree-sitter parser for Haskell
    still has to be installed.

[0.8.5] - 2023-09-02

Changed

  • Some plugin startup time improvements.

[0.8.4] - 2023-06-19

Fixed

  • Don't pass -p option to tasty if no paths to filter on are detected.
  • Tree-sitter root node detection in test files for which namespaces
    cannot be detected: Allow test nodes to be root nodes, too.
  • Treat all files with spec or test in the path as test files.

[0.8.3] - 2023-06-12

Fixed

  • Add missing tasty-golden goldenVsString query.

[0.8.2] - 2023-05-22

Fixed

  • Do not use deprecated health check API in neovim > 0.9.

[0.8.1] - 2023-04-15

Fixed

[0.8.0] - 2023-03-31

Added

  • Support for the sydtest test framework.
  • Move position queries to queries/haskell/<framework>-positions.scm
    and queries/haskell/<framework>-test. This allows the addition of extra
    queries to $XDG_CONFIG_HOME/nvim/after/queries/haskell/<framework>-positions.scm

Fixed

  • Hspec: support context, xcontext, specify and xspecify

[0.7.0] - 2023-03-22

Added

  • Support configuring which modules are used to identify test frameworks.

[0.6.0] - 2023-03-19

Added

  • Support for the tasty test framework.
  • Tested with:
    • tasty-hspec
    • tasty-hunit
    • tasty-quickcheck
    • tasty-smallcheck
    • tasty-hedgehog
    • tasty-leancheck
    • tasty-expected-failure
    • tasty-program
    • tasty-wai

[0.5.0] - 2023-03-12

Added

  • Health checks (:help checkhealth).
  • Hspec: Support for skipped tests (xdescribe xit, xprop).

[0.4.0] - 2023-03-10

Added

  • Configuration option build_tools which allows selection of one's preferred build tool to run tests.

Changed

  • Improved and simplified Hspec test/namespace position discovery.
  • Improved parsing of Hspec test results.
  • Do not send a notification with Hspec --match expression.

Fixed

  • Run all top-level tests in tests of type file (#50).

[0.3.0] - 2023-02-28

Added

  • Support for test files (See #45).
    Running neotes.run.run(vim.api.nvim_buf_get_name) will now run a single process for the top-level Hspec node.
  • Support for simple cabal projects. These are projects with a single package and no cabal.project file.

[0.2.2] - 2023-01-14

Fixed

  • Trims string ends from failed test results
  • Packer init in minimal config for reproducing issues locally.

[0.2.1] - 2022-10-29

Fixed

  • Virtual text not displayed if test name contains lua match special characters.
  • Detect files ending in "Tests.hs" as test files

[0.2.0] - 2022-10-12

Added

  • Stack support!

Fixed

  • Error message when running outside of test definitions.
  • Virtual text not shown when cursor is on it or prop test.

[0.1.1] - 2022-10-12

Fixed

Changed

[0.1.0] - 2022-10-11

Added

  • Parse hspec test results and display error messages as virtual text.

[0.0.3] - 2022-10-10

Fixed

  • Remove double-quotes from match argument, which caused hspec not to be able ot find any matches.

[0.0.2] - 2022-09-25

Changed

  • Simplify generated cabal command to run new-test instead of new-run.
    Previously, the generated command would have looked like this:
    cabal new-run <test-suite-name> -- -m "/path/to/hspec/branch/"
    Now it looks like this:
    cabal new-test <(sub)package-name> --test-argument -m --test-argument "/path/to/hspec/branch/"
    The reason for this change is to make it Cabal's responsibility to ensure the correct tests are run if a package has more than one test suite.
    With the previous approach, it was possible to run the wrong test suite without any matches.

1.0.2

05 Nov 20:56
Compare
Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[1.0.2] - 2023-11-05

Fixed

  • Health check: Fix broken tree-sitter parser check.

[1.0.1] - 2023-10-29

Changed

  • Remove plenary.nvim dependency.
    This does not bump any version requirements, and is not a breaking change.

[1.0.0] - 2023-10-13

Changed

  • POTENTIALLY BREAKING: remove nvim-treesitter dependency.
    It is advised to be on at least Neovim v0.9.0 to use this
    plugin without nvim-treesitter.
    The tree-sitter parser for Haskell
    still has to be installed.

[0.8.5] - 2023-09-02

Changed

  • Some plugin startup time improvements.

[0.8.4] - 2023-06-19

Fixed

  • Don't pass -p option to tasty if no paths to filter on are detected.
  • Tree-sitter root node detection in test files for which namespaces
    cannot be detected: Allow test nodes to be root nodes, too.
  • Treat all files with spec or test in the path as test files.

[0.8.3] - 2023-06-12

Fixed

  • Add missing tasty-golden goldenVsString query.

[0.8.2] - 2023-05-22

Fixed

  • Do not use deprecated health check API in neovim > 0.9.

[0.8.1] - 2023-04-15

Fixed

[0.8.0] - 2023-03-31

Added

  • Support for the sydtest test framework.
  • Move position queries to queries/haskell/<framework>-positions.scm
    and queries/haskell/<framework>-test. This allows the addition of extra
    queries to $XDG_CONFIG_HOME/nvim/after/queries/haskell/<framework>-positions.scm

Fixed

  • Hspec: support context, xcontext, specify and xspecify

[0.7.0] - 2023-03-22

Added

  • Support configuring which modules are used to identify test frameworks.

[0.6.0] - 2023-03-19

Added

  • Support for the tasty test framework.
  • Tested with:
    • tasty-hspec
    • tasty-hunit
    • tasty-quickcheck
    • tasty-smallcheck
    • tasty-hedgehog
    • tasty-leancheck
    • tasty-expected-failure
    • tasty-program
    • tasty-wai

[0.5.0] - 2023-03-12

Added

  • Health checks (:help checkhealth).
  • Hspec: Support for skipped tests (xdescribe xit, xprop).

[0.4.0] - 2023-03-10

Added

  • Configuration option build_tools which allows selection of one's preferred build tool to run tests.

Changed

  • Improved and simplified Hspec test/namespace position discovery.
  • Improved parsing of Hspec test results.
  • Do not send a notification with Hspec --match expression.

Fixed

  • Run all top-level tests in tests of type file (#50).

[0.3.0] - 2023-02-28

Added

  • Support for test files (See #45).
    Running neotes.run.run(vim.api.nvim_buf_get_name) will now run a single process for the top-level Hspec node.
  • Support for simple cabal projects. These are projects with a single package and no cabal.project file.

[0.2.2] - 2023-01-14

Fixed

  • Trims string ends from failed test results
  • Packer init in minimal config for reproducing issues locally.

[0.2.1] - 2022-10-29

Fixed

  • Virtual text not displayed if test name contains lua match special characters.
  • Detect files ending in "Tests.hs" as test files

[0.2.0] - 2022-10-12

Added

  • Stack support!

Fixed

  • Error message when running outside of test definitions.
  • Virtual text not shown when cursor is on it or prop test.

[0.1.1] - 2022-10-12

Fixed

Changed

[0.1.0] - 2022-10-11

Added

  • Parse hspec test results and display error messages as virtual text.

[0.0.3] - 2022-10-10

Fixed

  • Remove double-quotes from match argument, which caused hspec not to be able ot find any matches.

[0.0.2] - 2022-09-25

Changed

  • Simplify generated cabal command to run new-test instead of new-run.
    Previously, the generated command would have looked like this:
    cabal new-run <test-suite-name> -- -m "/path/to/hspec/branch/"
    Now it looks like this:
    cabal new-test <(sub)package-name> --test-argument -m --test-argument "/path/to/hspec/branch/"
    The reason for this change is to make it Cabal's responsibility to ensure the correct tests are run if a package has more than one test suite.
    With the previous approach, it was possible to run the wrong test suite without any matches.

1.0.1

29 Oct 23:05
Compare
Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[1.0.1] - 2023-10-29

Changed

  • Remove plenary.nvim dependency.
    This does not bump any version requirements, and is not a breaking change.

[1.0.0] - 2023-10-13

Changed

  • POTENTIALLY BREAKING: remove nvim-treesitter dependency.
    It is advised to be on at least Neovim v0.9.0 to use this
    plugin without nvim-treesitter.
    The tree-sitter parser for Haskell
    still has to be installed.

[0.8.5] - 2023-09-02

Changed

  • Some plugin startup time improvements.

[0.8.4] - 2023-06-19

Fixed

  • Don't pass -p option to tasty if no paths to filter on are detected.
  • Tree-sitter root node detection in test files for which namespaces
    cannot be detected: Allow test nodes to be root nodes, too.
  • Treat all files with spec or test in the path as test files.

[0.8.3] - 2023-06-12

Fixed

  • Add missing tasty-golden goldenVsString query.

[0.8.2] - 2023-05-22

Fixed

  • Do not use deprecated health check API in neovim > 0.9.

[0.8.1] - 2023-04-15

Fixed

[0.8.0] - 2023-03-31

Added

  • Support for the sydtest test framework.
  • Move position queries to queries/haskell/<framework>-positions.scm
    and queries/haskell/<framework>-test. This allows the addition of extra
    queries to $XDG_CONFIG_HOME/nvim/after/queries/haskell/<framework>-positions.scm

Fixed

  • Hspec: support context, xcontext, specify and xspecify

[0.7.0] - 2023-03-22

Added

  • Support configuring which modules are used to identify test frameworks.

[0.6.0] - 2023-03-19

Added

  • Support for the tasty test framework.
  • Tested with:
    • tasty-hspec
    • tasty-hunit
    • tasty-quickcheck
    • tasty-smallcheck
    • tasty-hedgehog
    • tasty-leancheck
    • tasty-expected-failure
    • tasty-program
    • tasty-wai

[0.5.0] - 2023-03-12

Added

  • Health checks (:help checkhealth).
  • Hspec: Support for skipped tests (xdescribe xit, xprop).

[0.4.0] - 2023-03-10

Added

  • Configuration option build_tools which allows selection of one's preferred build tool to run tests.

Changed

  • Improved and simplified Hspec test/namespace position discovery.
  • Improved parsing of Hspec test results.
  • Do not send a notification with Hspec --match expression.

Fixed

  • Run all top-level tests in tests of type file (#50).

[0.3.0] - 2023-02-28

Added

  • Support for test files (See #45).
    Running neotes.run.run(vim.api.nvim_buf_get_name) will now run a single process for the top-level Hspec node.
  • Support for simple cabal projects. These are projects with a single package and no cabal.project file.

[0.2.2] - 2023-01-14

Fixed

  • Trims string ends from failed test results
  • Packer init in minimal config for reproducing issues locally.

[0.2.1] - 2022-10-29

Fixed

  • Virtual text not displayed if test name contains lua match special characters.
  • Detect files ending in "Tests.hs" as test files

[0.2.0] - 2022-10-12

Added

  • Stack support!

Fixed

  • Error message when running outside of test definitions.
  • Virtual text not shown when cursor is on it or prop test.

[0.1.1] - 2022-10-12

Fixed

Changed

[0.1.0] - 2022-10-11

Added

  • Parse hspec test results and display error messages as virtual text.

[0.0.3] - 2022-10-10

Fixed

  • Remove double-quotes from match argument, which caused hspec not to be able ot find any matches.

[0.0.2] - 2022-09-25

Changed

  • Simplify generated cabal command to run new-test instead of new-run.
    Previously, the generated command would have looked like this:
    cabal new-run <test-suite-name> -- -m "/path/to/hspec/branch/"
    Now it looks like this:
    cabal new-test <(sub)package-name> --test-argument -m --test-argument "/path/to/hspec/branch/"
    The reason for this change is to make it Cabal's responsibility to ensure the correct tests are run if a package has more than one test suite.
    With the previous approach, it was possible to run the wrong test suite without any matches.

1.0.0

13 Oct 01:08
Compare
Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[1.0.0] - 2023-10-13

Changed

  • POTENTIALLY BREAKING: remove nvim-treesitter dependency.
    It is advised to be on at least Neovim v0.9.0 to use this
    plugin without nvim-treesitter.
    The tree-sitter parser for Haskell
    still has to be installed.

[0.8.5] - 2023-09-02

Changed

  • Some plugin startup time improvements.

[0.8.4] - 2023-06-19

Fixed

  • Don't pass -p option to tasty if no paths to filter on are detected.
  • Tree-sitter root node detection in test files for which namespaces
    cannot be detected: Allow test nodes to be root nodes, too.
  • Treat all files with spec or test in the path as test files.

[0.8.3] - 2023-06-12

Fixed

  • Add missing tasty-golden goldenVsString query.

[0.8.2] - 2023-05-22

Fixed

  • Do not use deprecated health check API in neovim > 0.9.

[0.8.1] - 2023-04-15

Fixed

[0.8.0] - 2023-03-31

Added

  • Support for the sydtest test framework.
  • Move position queries to queries/haskell/<framework>-positions.scm
    and queries/haskell/<framework>-test. This allows the addition of extra
    queries to $XDG_CONFIG_HOME/nvim/after/queries/haskell/<framework>-positions.scm

Fixed

  • Hspec: support context, xcontext, specify and xspecify

[0.7.0] - 2023-03-22

Added

  • Support configuring which modules are used to identify test frameworks.

[0.6.0] - 2023-03-19

Added

  • Support for the tasty test framework.
  • Tested with:
    • tasty-hspec
    • tasty-hunit
    • tasty-quickcheck
    • tasty-smallcheck
    • tasty-hedgehog
    • tasty-leancheck
    • tasty-expected-failure
    • tasty-program
    • tasty-wai

[0.5.0] - 2023-03-12

Added

  • Health checks (:help checkhealth).
  • Hspec: Support for skipped tests (xdescribe xit, xprop).

[0.4.0] - 2023-03-10

Added

  • Configuration option build_tools which allows selection of one's preferred build tool to run tests.

Changed

  • Improved and simplified Hspec test/namespace position discovery.
  • Improved parsing of Hspec test results.
  • Do not send a notification with Hspec --match expression.

Fixed

  • Run all top-level tests in tests of type file (#50).

[0.3.0] - 2023-02-28

Added

  • Support for test files (See #45).
    Running neotes.run.run(vim.api.nvim_buf_get_name) will now run a single process for the top-level Hspec node.
  • Support for simple cabal projects. These are projects with a single package and no cabal.project file.

[0.2.2] - 2023-01-14

Fixed

  • Trims string ends from failed test results
  • Packer init in minimal config for reproducing issues locally.

[0.2.1] - 2022-10-29

Fixed

  • Virtual text not displayed if test name contains lua match special characters.
  • Detect files ending in "Tests.hs" as test files

[0.2.0] - 2022-10-12

Added

  • Stack support!

Fixed

  • Error message when running outside of test definitions.
  • Virtual text not shown when cursor is on it or prop test.

[0.1.1] - 2022-10-12

Fixed

Changed

[0.1.0] - 2022-10-11

Added

  • Parse hspec test results and display error messages as virtual text.

[0.0.3] - 2022-10-10

Fixed

  • Remove double-quotes from match argument, which caused hspec not to be able ot find any matches.

[0.0.2] - 2022-09-25

Changed

  • Simplify generated cabal command to run new-test instead of new-run.
    Previously, the generated command would have looked like this:
    cabal new-run <test-suite-name> -- -m "/path/to/hspec/branch/"
    Now it looks like this:
    cabal new-test <(sub)package-name> --test-argument -m --test-argument "/path/to/hspec/branch/"
    The reason for this change is to make it Cabal's responsibility to ensure the correct tests are run if a package has more than one test suite.
    With the previous approach, it was possible to run the wrong test suite without any matches.

0.8.5

02 Sep 00:43
9ca219e
Compare
Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[0.8.5] - 2023-09-02

Changed

  • Some plugin startup time improvements.

[0.8.4] - 2023-06-19

Fixed

  • Don't pass -p option to tasty if no paths to filter on are detected.
  • Tree-sitter root node detection in test files for which namespaces
    cannot be detected: Allow test nodes to be root nodes, too.
  • Treat all files with spec or test in the path as test files.

[0.8.3] - 2023-06-12

Fixed

  • Add missing tasty-golden goldenVsString query.

[0.8.2] - 2023-05-22

Fixed

  • Do not use deprecated health check API in neovim > 0.9.

[0.8.1] - 2023-04-15

Fixed

[0.8.0] - 2023-03-31

Added

  • Support for the sydtest test framework.
  • Move position queries to queries/haskell/<framework>-positions.scm
    and queries/haskell/<framework>-test. This allows the addition of extra
    queries to $XDG_CONFIG_HOME/nvim/after/queries/haskell/<framework>-positions.scm

Fixed

  • Hspec: support context, xcontext, specify and xspecify

[0.7.0] - 2023-03-22

Added

  • Support configuring which modules are used to identify test frameworks.

[0.6.0] - 2023-03-19

Added

  • Support for the tasty test framework.
  • Tested with:
    • tasty-hspec
    • tasty-hunit
    • tasty-quickcheck
    • tasty-smallcheck
    • tasty-hedgehog
    • tasty-leancheck
    • tasty-expected-failure
    • tasty-program
    • tasty-wai

[0.5.0] - 2023-03-12

Added

  • Health checks (:help checkhealth).
  • Hspec: Support for skipped tests (xdescribe xit, xprop).

[0.4.0] - 2023-03-10

Added

  • Configuration option build_tools which allows selection of one's preferred build tool to run tests.

Changed

  • Improved and simplified Hspec test/namespace position discovery.
  • Improved parsing of Hspec test results.
  • Do not send a notification with Hspec --match expression.

Fixed

  • Run all top-level tests in tests of type file (#50).

[0.3.0] - 2023-02-28

Added

  • Support for test files (See #45).
    Running neotes.run.run(vim.api.nvim_buf_get_name) will now run a single process for the top-level Hspec node.
  • Support for simple cabal projects. These are projects with a single package and no cabal.project file.

[0.2.2] - 2023-01-14

Fixed

  • Trims string ends from failed test results
  • Packer init in minimal config for reproducing issues locally.

[0.2.1] - 2022-10-29

Fixed

  • Virtual text not displayed if test name contains lua match special characters.
  • Detect files ending in "Tests.hs" as test files

[0.2.0] - 2022-10-12

Added

  • Stack support!

Fixed

  • Error message when running outside of test definitions.
  • Virtual text not shown when cursor is on it or prop test.

[0.1.1] - 2022-10-12

Fixed

Changed

[0.1.0] - 2022-10-11

Added

  • Parse hspec test results and display error messages as virtual text.

[0.0.3] - 2022-10-10

Fixed

  • Remove double-quotes from match argument, which caused hspec not to be able ot find any matches.

[0.0.2] - 2022-09-25

Changed

  • Simplify generated cabal command to run new-test instead of new-run.
    Previously, the generated command would have looked like this:
    cabal new-run <test-suite-name> -- -m "/path/to/hspec/branch/"
    Now it looks like this:
    cabal new-test <(sub)package-name> --test-argument -m --test-argument "/path/to/hspec/branch/"
    The reason for this change is to make it Cabal's responsibility to ensure the correct tests are run if a package has more than one test suite.
    With the previous approach, it was possible to run the wrong test suite without any matches.

0.8.4

18 Jun 22:24
Compare
Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[0.8.4] - 2023-06-19

Fixed

  • Don't pass -p option to tasty if no paths to filter on are detected.
  • Tree-sitter root node detection in test files for which namespaces
    cannot be detected: Allow test nodes to be root nodes, too.
  • Treat all files with spec or test in the path as test files.

[0.8.3] - 2023-06-12

Fixed

  • Add missing tasty-golden goldenVsString query.

[0.8.2] - 2023-05-22

Fixed

  • Do not use deprecated health check API in neovim > 0.9.

[0.8.1] - 2023-04-15

Fixed

[0.8.0] - 2023-03-31

Added

  • Support for the sydtest test framework.
  • Move position queries to queries/haskell/<framework>-positions.scm
    and queries/haskell/<framework>-test. This allows the addition of extra
    queries to $XDG_CONFIG_HOME/nvim/after/queries/haskell/<framework>-positions.scm

Fixed

  • Hspec: support context, xcontext, specify and xspecify

[0.7.0] - 2023-03-22

Added

  • Support configuring which modules are used to identify test frameworks.

[0.6.0] - 2023-03-19

Added

  • Support for the tasty test framework.
  • Tested with:
    • tasty-hspec
    • tasty-hunit
    • tasty-quickcheck
    • tasty-smallcheck
    • tasty-hedgehog
    • tasty-leancheck
    • tasty-expected-failure
    • tasty-program
    • tasty-wai

[0.5.0] - 2023-03-12

Added

  • Health checks (:help checkhealth).
  • Hspec: Support for skipped tests (xdescribe xit, xprop).

[0.4.0] - 2023-03-10

Added

  • Configuration option build_tools which allows selection of one's preferred build tool to run tests.

Changed

  • Improved and simplified Hspec test/namespace position discovery.
  • Improved parsing of Hspec test results.
  • Do not send a notification with Hspec --match expression.

Fixed

  • Run all top-level tests in tests of type file (#50).

[0.3.0] - 2023-02-28

Added

  • Support for test files (See #45).
    Running neotes.run.run(vim.api.nvim_buf_get_name) will now run a single process for the top-level Hspec node.
  • Support for simple cabal projects. These are projects with a single package and no cabal.project file.

[0.2.2] - 2023-01-14

Fixed

  • Trims string ends from failed test results
  • Packer init in minimal config for reproducing issues locally.

[0.2.1] - 2022-10-29

Fixed

  • Virtual text not displayed if test name contains lua match special characters.
  • Detect files ending in "Tests.hs" as test files

[0.2.0] - 2022-10-12

Added

  • Stack support!

Fixed

  • Error message when running outside of test definitions.
  • Virtual text not shown when cursor is on it or prop test.

[0.1.1] - 2022-10-12

Fixed

Changed

[0.1.0] - 2022-10-11

Added

  • Parse hspec test results and display error messages as virtual text.

[0.0.3] - 2022-10-10

Fixed

  • Remove double-quotes from match argument, which caused hspec not to be able ot find any matches.

[0.0.2] - 2022-09-25

Changed

  • Simplify generated cabal command to run new-test instead of new-run.
    Previously, the generated command would have looked like this:
    cabal new-run <test-suite-name> -- -m "/path/to/hspec/branch/"
    Now it looks like this:
    cabal new-test <(sub)package-name> --test-argument -m --test-argument "/path/to/hspec/branch/"
    The reason for this change is to make it Cabal's responsibility to ensure the correct tests are run if a package has more than one test suite.
    With the previous approach, it was possible to run the wrong test suite without any matches.

0.8.3

12 Jun 20:52
8e76a26
Compare
Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[0.8.3] - 2023-06-12

Fixed

  • Add missing tasty-golden goldenVsString query.

[0.8.2] - 2023-05-22

Fixed

  • Do not use deprecated health check API in neovim > 0.9.

[0.8.1] - 2023-04-15

Fixed

[0.8.0] - 2023-03-31

Added

  • Support for the sydtest test framework.
  • Move position queries to queries/haskell/<framework>-positions.scm
    and queries/haskell/<framework>-test. This allows the addition of extra
    queries to $XDG_CONFIG_HOME/nvim/after/queries/haskell/<framework>-positions.scm

Fixed

  • Hspec: support context, xcontext, specify and xspecify

[0.7.0] - 2023-03-22

Added

  • Support configuring which modules are used to identify test frameworks.

[0.6.0] - 2023-03-19

Added

  • Support for the tasty test framework.
  • Tested with:
    • tasty-hspec
    • tasty-hunit
    • tasty-quickcheck
    • tasty-smallcheck
    • tasty-hedgehog
    • tasty-leancheck
    • tasty-expected-failure
    • tasty-program
    • tasty-wai

[0.5.0] - 2023-03-12

Added

  • Health checks (:help checkhealth).
  • Hspec: Support for skipped tests (xdescribe xit, xprop).

[0.4.0] - 2023-03-10

Added

  • Configuration option build_tools which allows selection of one's preferred build tool to run tests.

Changed

  • Improved and simplified Hspec test/namespace position discovery.
  • Improved parsing of Hspec test results.
  • Do not send a notification with Hspec --match expression.

Fixed

  • Run all top-level tests in tests of type file (#50).

[0.3.0] - 2023-02-28

Added

  • Support for test files (See #45).
    Running neotes.run.run(vim.api.nvim_buf_get_name) will now run a single process for the top-level Hspec node.
  • Support for simple cabal projects. These are projects with a single package and no cabal.project file.

[0.2.2] - 2023-01-14

Fixed

  • Trims string ends from failed test results
  • Packer init in minimal config for reproducing issues locally.

[0.2.1] - 2022-10-29

Fixed

  • Virtual text not displayed if test name contains lua match special characters.
  • Detect files ending in "Tests.hs" as test files

[0.2.0] - 2022-10-12

Added

  • Stack support!

Fixed

  • Error message when running outside of test definitions.
  • Virtual text not shown when cursor is on it or prop test.

[0.1.1] - 2022-10-12

Fixed

Changed

[0.1.0] - 2022-10-11

Added

  • Parse hspec test results and display error messages as virtual text.

[0.0.3] - 2022-10-10

Fixed

  • Remove double-quotes from match argument, which caused hspec not to be able ot find any matches.

[0.0.2] - 2022-09-25

Changed

  • Simplify generated cabal command to run new-test instead of new-run.
    Previously, the generated command would have looked like this:
    cabal new-run <test-suite-name> -- -m "/path/to/hspec/branch/"
    Now it looks like this:
    cabal new-test <(sub)package-name> --test-argument -m --test-argument "/path/to/hspec/branch/"
    The reason for this change is to make it Cabal's responsibility to ensure the correct tests are run if a package has more than one test suite.
    With the previous approach, it was possible to run the wrong test suite without any matches.