On Fri, Mar 11, 2016 at 3:15 PM, Stefan Egli <[email protected]> wrote:
>>On 11/03/16 14:47, "Bertrand Delacretaz" <[email protected]> wrote:
>>>  @Before
>>>  public void checkSlowTests() {
>>>    assumeNotNull(System.getProperty("sling.slow.tests.enabled"));
>>>  }
>>
>>+1, simple and effective...

Unfortunately that's not effective with tests that use the PaxRunner,
as the @Before method is called after setting up the test OSGi
framework. So tests disabled in this way still take a few seconds to
run, and PaxRunner doesn't support @BeforeClass.

I guess JUnit classes is the clean way to handle this.

-Bertrand

Reply via email to