Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automated Test case Execution - when to stop

We have around 100 test cases for our system. We are trying to build an automated test suite for it.

Say while running the tests the 25th test fails. Should our automated test system bail out here and stop execution, or should it just mark this as failed and continue trying to execute test cases 26th onwards (that is every test cycle will execute all 100 test cases irrespective of any failed test cases).

Ofcourse after a failed test case(for example no 25) if the system needs to be reset to execute test cases 26 onwards it will be taken care of.

Thanks

James

like image 472
James Avatar asked Feb 23 '23 14:02

James


1 Answers

If your tests are independent - you should finish all of them. This way you can monitor the system stability and see all of the problems at once without re-running tests countless times.

like image 182
bezmax Avatar answered Mar 12 '23 09:03

bezmax