Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Done
-
2.8
-
None
Description
It seems that @Ignore annotation is processed incorrectly when a test in Junit 4 style is included into Junit 3 test suite (wrapped into JUnit4TestAdapter). Actually such test is skipped silently when it is called during a suite execution. So, for full a blown usage of @Ignore test suites must be migrated to Junit 4 as well. Expected behavior here is reporting that a particular test method was ignored after tests execution. Ignored tests should be visible in CI.
Apparently such unexpected behavior of @Ignore can be caused by JUnit4TestAdapter as it explicitly filters test method marked with this annotation.
Attachments
Issue Links
- is depended upon by
-
IGNITE-10208 Verify list of tests after migration to Junit 4 against some prior reference (follow-up to IGNITE-10177)
- Open
-
IGNITE-10951 migration from Junit 3 to 4 phase 2 (follow-up to IGNITE-10173)
- Resolved
- is related to
-
IGNITE-10173 Gradually move unit tests from Junit 3 to newer version
- Resolved
- relates to
-
IGNITE-10178 change tests that fail("Ignite JIRA ticket URL") to @Ignore("Ignite JIRA ticket URL")
- Resolved