@Target(value=TYPE) @Retention(value=RUNTIME) @Repeatable(value=ContractExcludes.class) public @interface ContractExclude
For example
@RunWith( ContractSuite.class )
@ContractImpl( FooImpl.class )
@ContractExclude( ExpertFooTests.class, fns="{barTest,bazTest} )
public class Foo_Test {...}
Declares that in the ExpertFooTests class the
barTest, and bazTest methods should not be
executed.
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String[] |
methods
The list of interface classes for which tests should be skipped.
|
java.lang.Class<?> |
value
The Contract test implementation (annotated with @Contract) that
declares the methods that should not be executed.
|
Copyright © 2013-2018 XENEI.com. All Rights Reserved.