Skip to content

v1.1.0

Latest
Compare
Choose a tag to compare
@lawrence-laz lawrence-laz released this 25 Oct 13:55
· 21 commits to main since this release

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.
  • 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.
  • fix: Allow for decl tests by @freakmangd in #3

New Contributors

Full Changelog: v1.0.5...v1.1.0