You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a folder is a minimal unit of test case sets, it might takes too long to finish test if there are too many files and we want to add a single test into that folder and test for the new folder.
For example, src/test/run-pass contains 2500+ tests and took almost 20 mins to run through.
Test cases should be organised better and so we don't take too long to add a new test and verify a minimal set that includes the new test.
The text was updated successfully, but these errors were encountered:
Is it useful to consider a folder as a "minimal unit" of tests? I'm not sure. Where did you see that suggestion? You can run a single test: e.g. ./x.py test --stage 1 src/test/run-pass --test-args name_of_test.rs.
I don't really see it as feasible for us to split up tests (indeed, I've wanted more tests in the same folder but different categories before to make it easier to write and move them).
I'm going to close this. I don't think we're moving to split test cases into folders, much, though I imagine a PR which grouped up test cases would maybe be accepted.
As a folder is a minimal unit of test case sets, it might takes too long to finish test if there are too many files and we want to add a single test into that folder and test for the new folder.
For example, src/test/run-pass contains 2500+ tests and took almost 20 mins to run through.
Test cases should be organised better and so we don't take too long to add a new test and verify a minimal set that includes the new test.
The text was updated successfully, but these errors were encountered: