"Require JUnit Test Run" precondition
Hi all
We enabled this rule recently:
Operation: Deliver (client):
But it does not appear to be working (throws an error on Deliver even after the tests are ran). Even when selecting the "Solution" option presented with the error message, the deliver still fails. We specified a valid test suite & Test suite type to look for, but still encounter issues.
IDE: RAD 8 with RTC 4.0.3
I was wondering if there are any known limitations with this precondition? Thanks!
We enabled this rule recently:
Operation: Deliver (client):
Require JUnit test run | Requires a JUnit test to run (successfully) in the Eclipse workspace. | Eclipse |
But it does not appear to be working (throws an error on Deliver even after the tests are ran). Even when selecting the "Solution" option presented with the error message, the deliver still fails. We specified a valid test suite & Test suite type to look for, but still encounter issues.
IDE: RAD 8 with RTC 4.0.3
I was wondering if there are any known limitations with this precondition? Thanks!
2 answers
If you change any Java-related resource in Eclipse (.java, .class, or Java projects) after the test run, the advisor will ignore that test run. It's very sensitive.
Could you commit all of your changes to the change set(s) you want to deliver, run the test suite, then deliver immediately?
Could you commit all of your changes to the change set(s) you want to deliver, run the test suite, then deliver immediately?
Hello Mark,
what is the exact error msg you get on deliver?
Thanks,
Eric
Comments
Hi Eric we get:
--
Problem
Tests should be run locally before delivering changes.
Reason
Require that a specific JUnit test suite is executed before a change set is delivered.
Solutions
Run Tests Locally
--
Even if we then click "Run Tests Locally" then retry, we still receive the error
Hello Mark,
does not ring any bell to me,
and looks like difficult to answer / investigate on the forum.
I would vote for opening a PMR - https://jazz.net/help/support/
Eric
Thanks Eric. I will look to open a PMR