-
-
Notifications
You must be signed in to change notification settings - Fork 4
Support only flag #155
Copy link
Copy link
Closed
Description
Similar to Bun's --test-only, it would only run tests marked as only. This is useful when only one / a few test cases are giving trouble, and the user would like to debug them. Instead of having to step through the breakpoints of all the other tests, or commenting the tests, the user can mark them with only and run only those.
test()->test_only()define()->define_only()- Subsuites and tests automatically marked as
only
- Subsuites and tests automatically marked as
test_*()->test_*__only()- Append keyword, so it's easier to remove, even if slightly less readable
- Specifically using
__only, so suffix can't be mistaken for a legitimate test name
- Press
Shift+F7to run only - Press
Ctrl+Shift+F7to debug only
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels