[jira] [Created] (IGNITE-10762) migrate test suites from Junit 3 to 4

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-10762) migrate test suites from Junit 3 to 4

Anton Vinogradov (Jira)
Ivan Pavlukhin created IGNITE-10762:
---------------------------------------

             Summary: migrate test suites from Junit 3 to 4
                 Key: IGNITE-10762
                 URL: https://issues.apache.org/jira/browse/IGNITE-10762
             Project: Ignite
          Issue Type: Sub-task
            Reporter: Ivan Pavlukhin


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)