You cannot run all of your tests often because they are too slow. This is an inevitable consequence of increasing your project and will not disappear. Of course, you can run tests in parallel and get good acceleration, but the problem will come back later, and it will never be as if your project was small.
To improve performance, you should be able to code and run the appropriate unit tests and get results within seconds. If you have a hierarchy of tests, you can do this efficiently: regularly run tests for the module you are working on, tests for the component you are working on, and often examine the project (perhaps before you think about checking it). You may have integration tests or complete system tests that you can run in one night: this strategy is an extension of this idea.
All you have to do to set it up is to organize your code and tests to support the hierarchy.
user97370
source share