Run Tests Before Commit

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

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.

You can use the Compound configuration type to run more than a single run configuration.


Related Resources

Search Text in Local History
Search Text in Local History
Find exactly what you are looking for, even if you removed it
Cleanup Code Before Commit
Cleanup Code Before Commit
Remove all the redundant parenthesis and other unneeded code before commit.
Run Inspections Before Commit
Run Inspections Before Commit
Catch all issues before your code before you commit it.