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

ForgeTestMethodExecutor does not handle AssumptionViolatedException

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: