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.jaras AspectJ library and not as Java library.
Annotation Types Summary Annotation Type Description BrokenIf you want to mark JUnit tests which does not work for the moment as "broken" you can use this annotation. DontLogMeE.g. the ProfileAspect together with the AbstractProfileAspect logs also the arguments for long running methods. DontProfileMeYou have marked a class with "@ProfileMe" but don't want to see all methods? DontTraceMeIf you have marked a class with
@TraceMeand you want to exclude some methods or constructors you can mark it with this annotation.
DrawSequenceDiagramWith this annotation you can control the generation of sequence diagrams. GuardInitializationIf your static initialization fails and you get a NoClassDefFoundError use ths anntoation. IgnoreForSequenceDiagramWith this annotation you can mark classes or methods which should not part of generated sequence diagram. IntegrationTestThis annotation allows you to mark classes which are not really a unit test but a integration test. LogRuntimeExceptionYou want to see a RuntimeException in the log if it happens? LogThrowableYou want to see an Exception or Error in the log if it happens? NotYetImplementedEclipse and other tools will generate default implementation for you if you want to implement an interface. ProfileMeYou want to measure a method or constructor? RunTestOnYou have a test which should be run only on Linux or another operationg system? SkipTestOnYou have a test which should be skipped on Linux or another operationg system? SmokeTestFor fast CI build it is helpful to mark important JUnit tests and test method as SmokeTest. TimeMachineFor time specific tests you can use this annotation to set the todays date. TraceMeYou want to trace a method or class because you don't want (or can't) call the debugger? UnsupportedOperationThis is similar to the @NotYetImplemented annotation.