Skip to content

Add support for running multiple eval files by name #367

@matchai

Description

@matchai

Hi there! 👋

I'd love to be able to run a set of specific test files by file path in much the same way as I would with other test runners or eval runners:

evalite ./src/system-prompt.eval.ts ./src/tools/search.eval.ts

Vitest uses the interface of vitest [...filters], allowing you to provide file name patterns, like so:

vitest basic

Runs tests on the following files:

basic.test.ts
basic-foo.test.ts
basic/foo.test.ts

This interface also allows you to provide multiple filters, supporting multiple verbatim paths to be provided to Vitest.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions