opengeospatial/teamengine — pull request #67 by shane-axiom (2014-11-11 10:48:03+00:00)
Title: Fix inherited failure

These commits fix test failure inheritance. I noticed that parent tests were only failing if the last child test called also failed. If the last test called from a parent test passed, the parent test would also pass regardless of previous child test failures.

A test case ctl file and jUnit tests are included, and there are changes in Generator to allow for simple ctl transformation during unit tests.

The use of an instance variable (TECore.verdict) to track the results of multiple hierarchically related tests was the cause of this issue, and seems problematic. Ideally each test would just keep track of its own result and executing parents would examine the results of its children after they execute to determine its own inherited result. I didn't include that in the pull request because it would require fairly extensive changes and I'm not totally familiar with all of the expected teamengine behaviors.