Package patterntesting.runtime.annotation
This package contains the annotations for PatternTesting Runtime itself. The
annotations in this package can be used to enable some additional features
like profiling or logging. If you want these additional features you must
include
patterntesting-rt-x.x.x.jar
as AspectJ library and not as
Java library.- Since:
- 0.8
- Author:
- oliver
-
Annotation Types Summary Annotation Type Description Broken If you want to mark JUnit tests which does not work for the moment as "broken" you can use this annotation.DontLogMe E.g. the ProfileAspect together with the AbstractProfileAspect logs also the arguments for long running methods.DontProfileMe You have marked a class with "@ProfileMe" but don't want to see all methods?DontTraceMe If you have marked a class with@TraceMe
and you want to exclude some methods or constructors you can mark it with this annotation.DrawSequenceDiagram With this annotation you can control the generation of sequence diagrams.GuardInitialization If your static initialization fails and you get a NoClassDefFoundError use ths anntoation.IgnoreForSequenceDiagram With this annotation you can mark classes or methods which should not part of generated sequence diagram.IntegrationTest This annotation allows you to mark classes which are not really a unit test but a integration test.LogRuntimeException You want to see a RuntimeException in the log if it happens?LogThrowable You want to see an Exception or Error in the log if it happens?NotYetImplemented Eclipse and other tools will generate default implementation for you if you want to implement an interface.ProfileMe You want to measure a method or constructor?RunTestOn You have a test which should be run only on Linux or another operationg system?SkipTestOn You have a test which should be skipped on Linux or another operationg system?SmokeTest For fast CI build it is helpful to mark important JUnit tests and test method as SmokeTest.TimeMachine For time specific tests you can use this annotation to set the todays date.TraceMe You want to trace a method or class because you don't want (or can't) call the debugger?UnsupportedOperation This is similar to the @NotYetImplemented annotation.