eugene-manuilov / jest-runner-groups

A custom runner that allows to tag test files and run groups of tests with Jest.
MIT License
128 stars 14 forks source link

Possibility to group by file extension. #17

Closed Ranguna closed 4 years ago

Ranguna commented 4 years ago

Would it be possible to use the file extension to group tests instead of a block comment ?

For example

sometest.unit.spec.ts
sometest.integration.spec.ts

I do this currently because it easier to identify the files without having to open them, but it looks a little redundant to have both the file name and the block comment.

Multiple groups in the same spec file would not work. But at least for me, that's not a problem.

Ranguna commented 4 years ago

Looks like jest already provides this out of the box. Sorry about that.