Run tests before commit

Make sure your tests pass before reaching the CI/CD pipeline

How to use:

Invoke the Commit feature using ⌘K (macOS) / Ctrl+K (Windows/Linux), then select the Commit options and check the Run Tests option, then select which test configuration you wish to run.

Note: You must have the Use non-modal commit interface activated before you can use this feature. Check your settings under Settings/Preferences | Version Control | Commit.

Pro-tip: You can use the Compound configuration type to run more than a single run configuration.


Related Resources

Search text in Local History
Find exactly what you are looking for, even if you removed it
Cleanup code before commit
Remove all the redundant parenthesis and other unneeded code before commit
Run inspections before commit
Catch all issues before your code reaches the upstream