Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-10762

Migrate test suites from Junit 3 to 4

    XMLWordPrintableJSON

Details

    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

          There are no Sub-Tasks for this issue.

          Activity

            People

              oignatenko Oleg Ignatenko
              Pavlukhin Ivan Pavlukhin
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m