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

ForgeTestMethodExecutor does not handle AssumptionViolatedException

    Details

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gastaldi George Gastaldi
                Reporter:
                gastaldi George Gastaldi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: