On Fri, Mar 11, 2016 at 2:08 PM, Stefan Egli <[email protected]> wrote:
> ...Alternatively we could use the @Category junit annotation...

Or the Assume mechanism [1]...

That sounds a bit wrong semantically but doing something like

  @Before
  public void checkSlowTests() {
    assumeNotNull(System.getProperty("sling.slow.tests.enabled"));
  }

Requires very little changes, and if needed we can refine "categories"
with more property names.

-Bertrand

[1] http://junit.sourceforge.net/javadoc/org/junit/Assume.html

Reply via email to