org.unitils.compositetest.annotation
Annotation Type TestPart
@Retention(value=RUNTIME)
public @interface TestPart
This annotation is used to mark a method as reusable part of another test.
It can still be executed on its own, or you can mark it @Ignore if you
want to use it as a part only.
- Author:
- Jef Verelst
name
public abstract String name
- Returns:
- the name of the part. If left blank, the name of the method will
be used as testPart name.
- Default:
- ""
executeAsSingleTest
public abstract boolean executeAsSingleTest
- Returns:
- whether the part should be executed as individual test.
- Default:
- false
Copyright © 2014. All Rights Reserved.