Currently, there doesn't seem to be a way to "reset" a test item's state once it is set to something.
I have tried deleting the child items then recreating them; marking the items with TestController.invalidateTestResults(). None of these methods seem to reset the test items to the initial state; they continue to display the last run states from the cache.
I may be missing something. Otherwise, please consider adding an unknown() or reset() method to the TestRun class that reset the item to its initial state.
Currently, there doesn't seem to be a way to "reset" a test item's state once it is set to something.
I have tried deleting the child items then recreating them; marking the items with
TestController.invalidateTestResults()
. None of these methods seem to reset the test items to the initial state; they continue to display the last run states from the cache.I may be missing something. Otherwise, please consider adding an
unknown()
orreset()
method to theTestRun
class that reset the item to its initial state.