@Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface TestCategory
Sets the category of a test class.
Categories can be excluded from running tests, or explicitly included.
If categories are explicitly included, only non-excluded tests with explicitly included categories will be run.
To exclude categories, add a new system variable named "categories.exclude"
with the names of the categories excluded.
To explicitly include categories, add a new system variable named
"categories.include" with the names of the categories included.
Usage:
@TestCategory("NetworkTest")
public abstract String value
Copyright © 2019. All rights reserved.