-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hi there πββοΈ
I've found some issues in vitest, and now and again, I also find some regressions. @AriPerkkio pointed me here to contribute a test, maybe.
vitest-dev/vitest#4713 (comment)
However, StrykerJS is different from your run-of-the-mil repo since Stryker is a framework in which vitest is used via the @stryker-mutator/vitest-runner plugin.
The simplest way to add a test is to rebrand some of our e2e tests. Either create separate repos or add them directly here (they're relatively small projects). A test would then run StrykerJS via the command line and snapshot test the JSON result (which contains mutation score and other metrics).
Another question I have is how to install vitest inside these e2e test projects. Inside StrykerJS, we use install-local, a small package I'm maintaining. It can install a local package (not symlinking, but by running npm pack and installing that package), but I'm not sure if that is desirable or maintainable here since I see pnpm being used here.