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.
- Stack support!
- Error message when running outside of test definitions.
- Virtual text not shown when cursor is on
it
orprop
test.
- Do not display full output as virtual text..
To display output, see
:h neotest.output.open()
. - Run all tests if no package is found.
- Run tests without options if no (hspec) test options can be found.
- Parse hspec test results and display error messages as virtual text.
- Remove double-quotes from match argument, which caused hspec not to be able ot find any matches.
- Simplify generated cabal command to run
new-test
instead ofnew-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.