-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grouping tests by file #4644
Comments
Test cases are registered programatically during runtime using
Not long ago there was discussion about adding something like test suite to test framework, but it was decided that it's left for 3rd party libs to implement. |
If #4366 is implemented, doing this would be much easier. But for now, how about altering |
There is an easier solution: log test file names before |
Currently, all tests from different test file are printed as if they are all from one file. This could be a problem on a large test suite where developer needs to find failed test case/file.
In Jest, tests are grouped per file. By default, only file names and names of failed tests are shown.
Alternative Proposals
Deno.testGroup
function that acts likedescribe
in Jest, use it in.deno.test.ts
to wrap import line of a test file.cargo test
).The text was updated successfully, but these errors were encountered: