[forge-issues] [JBoss JIRA] (FORGE-1677) ForgeTestMethodExecutor does not handle AssumptionViolatedException

George Gastaldi (JIRA) issues at jboss.org
Mon Mar 17 17:46:11 EDT 2014


George Gastaldi created FORGE-1677:
--------------------------------------

             Summary: ForgeTestMethodExecutor does not handle AssumptionViolatedException
                 Key: FORGE-1677
                 URL: https://issues.jboss.org/browse/FORGE-1677
             Project: Forge
          Issue Type: Bug
          Components: Test Harness
    Affects Versions: 2.2.0.Final
            Reporter: George Gastaldi
             Fix For: 2.x Future


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

{code:java}
public class MyClassTest
{

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

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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list