diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-29 09:39:51 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-29 09:39:51 +0100 |
commit | 82e390ff8687038740b3d3bcfa6c69441ad0be0c (patch) | |
tree | dbe2f77a15554846b9a053d59b517acea77e75d4 /crates/ra_hir | |
parent | 5a8124273dd663f7f1ed43b53defc4a2c52dbc12 (diff) | |
parent | bb1ae85ed0bdd854029435ac5a9f175e3f33e2e7 (diff) |
Merge #5561
5561: Allow running more tests at once via the module runners r=matklad a=SomeoneToIgnore
Sometimes I group tests into submodules located in the root `#[cfg(test)]` crate and want to (re)run them all at once.
This PR adds more test runnables to allow running all tests in the file via a module runner.
Not all possible module runners are added, to avoid displaying too many code lens.
before:
<img width="306" alt="before" src="https://user-images.githubusercontent.com/2690773/88724886-e4c6ea00-d133-11ea-9d80-082bb610d422.png">
after (`nested_tests_0` got the runnable, `root_tests` had not):
<img width="300" alt="after" src="https://user-images.githubusercontent.com/2690773/88724896-e85a7100-d133-11ea-99ee-689126679cbc.png">
Co-authored-by: Kirill Bulatov <[email protected]>
Diffstat (limited to 'crates/ra_hir')
0 files changed, 0 insertions, 0 deletions