Closed hagertnl closed 6 months ago
@ddietz89 technicality we need to decide for this.
Currently, a test will occasionally raise an exception when it encounters most failures. Raising an exception will abort the remaining tests for that application and will not return any usable value for this count. So two questions we need to decide:
--abort-on-failure
?After talking with Veronica, I am planning to implement the following and we can discuss once we have a prototype:
We can look at an --abort-on-failure
flag later. That might be hard, if we enable asynchronous/parallel test builds. It would not clean up very nicely, possibly.
The final line of output in a harness run looks like:
The intent is to tell the user how many tests successfully made it to the queue and how many did not. The count is currently broken, and is actually counting the number of apps launched/skipped, not the number of tests.
The region of code that does this accounting is:
So somehow we need to get the test data from the asynchronous
do_application_tasks
call in order to have accurate printing.