unify-flowret-1.7.1
This release consists of a revamp of the unit test suite. There is no functional change.
It was observed that the unit test cases were not running correctly when using Maven mvn test
command from the terminal. If tests in only one class were run, they ran fine but when multiple test classes were selected to run, only the tests for the first class ran fine.
However, if they were run from inside of IntelliJ, they all ran fine irrespective of whether tests in only one test class were run or tests from multiple classes were run.
The issue, it seems, was due to a certain way consoles were being used to collect the output of test cases. Though I still am not able to tell why they run successfully from inside IntelliJ but failed when run from the terminal, I was able to implement a workaround to make them run correctly from both terminal (using Maven) and from inside IntelliJ.
The other significant change to the test suite is that all of them now run in memory and in silent mode meaning that they do not emit progress messages to the console. Earlier, they used to write process documents to the file system as well as output progress log messages, The ability to write process related documents to the file system and emit progress logs has however been retained through the use of a couple of boolean
variables in the class TestManager
. The readme has been updated with a new step 9 in the "Getting started in 5 minutes" section, that talks of running unit test cases and using these couple of boolean
variables.