Task #5034
closed
Added by Schwarz Lionel over 11 years ago.
Updated about 11 years ago.
Description
- check if it is possible to know the name of the running test in the setUp()
- how to list disabled tests (annotations, static list...)
- Subject changed from JUnit: do not run setUp if test is ignored to Upgrade to JUnit4
- Category set to engine
- Status changed from New to Suspended
The idea is to not run setUp() if the test is ignored. This is not possible with JUnit3.
Upgrading to JUnit4:
- upgrade to JUnit4 in saga-api-test POM
JUnit4 can run tests written with JUnit3 but in the JUnit3 way (setUp is run in any case).
To run tests as JUnit4, test classes MUST NOT extend junit.framework.TestCase. So the root class AbstractTest must not extend TestCase.
So it seems impossible to smoothly upgrade to JUnit4. All tests must be rewritten.
- Target version deleted (
1.0.0)
- Status changed from Suspended to Assigned
- Priority changed from Low to Normal
Missing JUnit4 tests:
- org.ogf.saga.namespace.IntegrationClean
- Subject changed from Upgrade to JUnit4 to Upgrade saga-api-test to JUnit4
- Status changed from Assigned to Resolved
- Target version set to 1.1.0
Also available in: Atom
PDF