To perform some tasks we use a custom JUnit TestListener. This listener implements all the different methods of the contract (testFinished, testFailed, testIgnored, testRunFinished) and when executed within eclipse or idea the testRunFinished method is executed whereas executed from Gradle is not triggered.
Is there some configuration to be done? What is happening?
Note: The tests are being executed by a Cucumber runner.