I wrote two test cases of LoginTest and SignUpTest using JUnit and the SessionUnitTestSuite test suite. Every time I want to create and run my application, I need to run a test package (by selecting Test Suite and then clicking "Run") before and, if the test passes, start my application (by selecting the application module and then click "Run") .
Is there a way to automatically run tests before running my application module and cancel my application installation if the tests fail?
source share