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
Optimize tests compilation with --exact flag (#2569)
<!-- Reference any GitHub issues resolved by this PR -->
Closes#2530
## Introduced changes
- Optimize tests performance when using `--exact` flag
- Display `other filtered out` instead of number of filtered tests. This
is should be brought back and addressed in
#2574
Before
```rust
Tests: 1 passed, 0 failed, 0 skipped, 0 ignored, 5 filtered out
```
After
```rust
Tests: 1 passed, 0 failed, 0 skipped, other ignored, other filtered out
```
## Checklist
<!-- Make sure all of these are complete -->
- [x] Linked relevant issue
- [x] Updated relevant documentation
- [x] Added relevant tests
- [x] Performed self-review of the code
- [x] Added changes to `CHANGELOG.md`
---------
Co-authored-by: Fiiranek <[email protected]>
Co-authored-by: Franciszek Job <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
19
19
#### Fixed
20
20
-`account delete` command: It is no longer necessary to provide the `--url` argument each time. Either the `--url` or `--network` argument must be provided, but not both, as they are mutually exclusive.
21
21
22
+
### Forge
23
+
24
+
#### Changed
25
+
26
+
- When using test name filter with `--exact` flag, forge will try to compile only the selected test.
0 commit comments