jest-community / eslint-plugin-jest

ESLint plugin for Jest
MIT License
1.12k stars 230 forks source link

Warn about tests not run by jest #68

Open SimenB opened 6 years ago

SimenB commented 6 years ago

Ava has a cool rule called no-ignored-test-files. It would be great if we could port it.

It won't be as easy for us since we use globals. But looking for either describe, test or it which are not imported in any file not matched by Jest's testMatch (and the other ways of configuring where jest looks for tests) should be a good start.

Jest has a flag called listTests, but I'm not sure if we're able to call it programmatically (or if we'd want to).

Hopefully this is doable 🙂

brianlmacdonald commented 6 years ago

Can I give this a shot?

SimenB commented 6 years ago

Yeah, go for it!

spotlesscoder commented 1 year ago

Who / what is Ava?

FloEdelmann commented 3 months ago

@spotlesscoder https://github.com/avajs/ava