kyua
kyua copied to clipboard
Record data as soon as it is available during testing
From [email protected] on July 16, 2013 07:49:13
At the moment, the creation of an action and all of its contents in the database is performed within a transaction. This means that if the test execution dies for some reason (e.g. the machine dies, which is a common case with anita once the test suite overruns a deadline), the database will contain no data to aid in determining what caused the problem.
We should remove the whole transaction and make the code smart enough to handle "unclosed" actions. Bonus points if the interface clearly denotes when an action is incomplete and what the last test executed was.
Original issue: http://code.google.com/p/kyua/issues/detail?id=63