forked from facebook/buck
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OX-851] JUnit5: support running individual test method
The PR adds support of test selector for JUnit5 tests. Note: The failure count is still incorrect when there's failures, hope to address that in the future. #### Before ``` $ ./buck test domain/service/accountreceivedate: -f AccountReceiveDateServiceTest#test2 Building: finished in 0.9 sec (100%) 2471/2471 jobs, 2 updated Total time: 0.9 sec Testing: finished in 6.2 sec (2 PASS/0 FAIL) RESULTS FOR SELECTED TESTS PASS 113ms 2 Passed 0 Skipped 0 Failed ^ com.addepar.domain.service.accountreceivedate.AccountReceiveDateServiceTest TESTS PASSED ``` #### After ``` $ ./buck test domain/service/accountreceivedate: -f AccountReceiveDateServiceTest#test2 Building: finished in 0.8 sec (100%) 2471/2471 jobs, 0 updated Total time: 0.9 sec Testing: finished in 8.9 sec (1 PASS/0 FAIL) RESULTS FOR SELECTED TESTS PASS 139ms 1 Passed 0 Skipped 0 Failed ^ com.addepar.domain.service.accountreceivedate.AccountReceiveDateServiceTest TESTS PASSED ```
- Loading branch information
Showing
5 changed files
with
40 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters