Skip to content

test-inventory ​

0.1.2 ​

Patch Changes ​

  • #13 89a029f - Locks set with test.describe.configure({ lock }), new in Playwright 1.64, are added to every test in the file or describe where the call is made. They were dropped before.

  • #13 89a029f - From Vitest 5, a file that calls vi.mock, vi.unmock or vi.hoisted anywhere but its top level gets a removed-api error at the call, and its tests are notLoaded, as Vitest refuses the file. Files with in-source tests are not checked, as in Vitest.

0.1.1 ​

Patch Changes ​

  • #5 c812450 - A custom test object imported from '.' or '..' is followed like other relative imports.

  • #5 c812450 - When a pattern names a folder, the no-files-matched message suggests a pattern for the test files in it, and the command line prints that message.

  • #5 c812450 - A pattern whose folder doesn't exist now gives only the no-files-matched warning, not a read-error.

  • #5 c812450 - Messages for problems that make Playwright refuse a file now say that Playwright runs no tests at all, in any file.

  • #5 c812450 - A new test-in-function warning marks a test declared in a function that is called more than once, from another describe, never, or from other files. The runner registers such a test in the describe around each call, while the record stays where the test is written.

  • #5 c812450 - A version range that starts below the oldest supported version, such as ^1.40.0, now gets the approximate-framework-version warning, since the newest rules of its major apply.

  • #5 c812450 - Every test in a Vitest file that fails to load is now notLoaded, as Vitest runs none of them: a chain Vitest doesn't have, sequential or bench from Vitest 5, or options as the third argument from Vitest 4. A call to bench is reported where it is made, not where it is imported.

0.1.0 ​

Minor Changes ​

  • #1 5073b07 - First release. Scans Playwright and Vitest test files and lists every test declaration as JSON, with its location, describes, tags, annotations and state, without running the tests.