v1.1.0
What's Changed
- feat: Filter for files that contain tests
- Up until now, all .zig files were visible in summary panel. That is
because Zig stores tests in the same file where code resides and there
is no way to determine whether a file contains tests just by looking at
its name. - This added an additional filter that reads the file and looks for tests
by running TreeSitter query.
- Up until now, all .zig files were visible in summary panel. That is
- fix: Hang on non-zig repo
- Root pattern '**/*.zig' seems to be climbing up the directory tree until
it finds a .zig file. This causes neotest to hang in directories that
contain no .zig files. - Simply switching root pattern to '*.zig' causes issues, where nested
test files are not being discovered. For this purpose an alternative
root pattern.git
is set, which picks the root based on git
repository.
- Root pattern '**/*.zig' seems to be climbing up the directory tree until
- fix: Allow for decl tests by @freakmangd in #3
New Contributors
- @freakmangd made their first contribution in #3
Full Changelog: v1.0.5...v1.1.0