Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude slow tests by default; use --all to include them #15

Merged
merged 2 commits into from Feb 25, 2024

Conversation

mattbrictson
Copy link
Owner

This commit changes the behavior of mt with no arguments. By default, it will now run all tests in the tests/ directories, except probable slow tests in directories like tests/integration and tests/system.

This is similar to bin/rails test, which also excludes system tests by default.

To run all tests, including slow ones, use the --all flag. In CI mode, i.e. when CI=1, slow tests are always included.

This commit changes the behavior of `mt` with no arguments. By default,
it will now run all tests in the `tests/` directories, _except_ probable
slow tests in directories like `tests/integration` and `tests/system`.

This is similar to `bin/rails test`, which also excludes system tests by
default.

To run all tests, including slow ones, use the `--all` flag. In CI mode,
i.e. when `CI=1`, slow tests are always included.
@mattbrictson mattbrictson added the ✨ Feature Adds a new feature label Feb 24, 2024
@mattbrictson mattbrictson merged commit 7cef63d into main Feb 25, 2024
6 checks passed
@mattbrictson mattbrictson deleted the slow-vs-all branch February 25, 2024 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature Adds a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant