Criteria for building E2E test frameworks - Test parallelization
When building a test framework, it is important to keep in mind certain criteria. This would help to make it more effective, scalable and fast. And test parallelization is one of the most important criteria to make your tests run faster. Your goal is to run several tests in parallel, so that the whole test set will be executed several times faster in comparison when all tests run sequentially, one after the other. For example, if you set test parallelization to 5, it means that the total test execution time may be reduced by 5 times. That is, if your e2e tests now run sequentially and take e.g. 50 minutes, after parallelization will take only 10 minutes. It is a significant achievement. Why is fast test execution so important? There are different cases. One case is if you often release to Production during the day. You will then benefit from the fast regression test cycles: for example, in 10 minutes you can say if the current version of your application is ready for release. The more