Skip to content

Releases: lawrence-laz/neotest-zig

1.3.1

12 Nov 18:43
Compare
Choose a tag to compare

Note

This release is targeting zig 0.13 only. If you are on zig master, then use the latest commit of neotest-zig.

What's Changed

  • Updated treesitter query in 01cfc19
    Zig treesitter parser has been changed in nvim-treesitter.
    The new parser is not compatible with the old one, therefore you will need to update nvim-treesitter and run :TSUpdate zig.
    Related commit in: nvim-treesitter/nvim-treesitter@ba921c9

Full Changelog: 1.3.0...1.3.1

1.3.0

18 Aug 19:26
db005bb
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.2.0...1.3.0

1.2.0

28 Jul 13:38
b3e6246
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.0...1.2.0

v1.1.0

25 Oct 13:55
Compare
Choose a tag to compare

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