Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1677

ForgeTestMethodExecutor does not handle AssumptionViolatedException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.3.0.Final
    • 2.2.0.Final
    • Test Harness
    • None

    Description

      org.junit.internal.AssumptionViolatedException is thrown when org.junit.Assume.assumeXXX methods are called. The following test skips AssumptionViolatedExceptions when run in Eclipse:

      public class MyClassTest
      {
      
         @Test
         public void test()
         {
            Assume.assumeTrue(false);
         }
      }
      

      Assumptions are needed to check if a test should be skipped or not.

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            rhn-support-ggastald George Gastaldi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: