Skip to content

Releases: mrcjkb/neotest-haskell

0.8.2

22 May 16:28
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.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.1

14 Apr 22:28
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.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.0 - sydtest support

31 Mar 16:15
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.

[Unreleased]

[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.7.0

22 Mar 20:07
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.

[Unreleased]

[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.6.0 - Support for Tasty

19 Mar 12:51
Compare
Choose a tag to compare

0.5.0

12 Mar 01:09
072f6fe
Compare
Choose a tag to compare

0.4.0

10 Mar 01:18
Compare
Choose a tag to compare

What's Changed

Commit log: 0.3.0...0.4.0

0.3.0 - Simple Cabal projects/test files

28 Feb 12:44
21334a3
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @saep made their first contribution in #44

Commit log: 0.2.2...0.3.0

0.2.2

14 Jan 01:06
Compare
Choose a tag to compare

New Contributors

  • @Trouble-Truffle made their first contribution in #33

Full Changelog: https://github.com/MrcJkb/neotest-haskell/blob/0.2.2/CHANGELOG.md

0.2.1 - fixes

29 Oct 21:42
Compare
Choose a tag to compare

New Contributors

Full Changelog: https://github.com/MrcJkb/neotest-haskell/blob/0.2.0/CHANGELOG.md