Annotation Type | Description |
---|---|
AnnotateGroupExpression |
This annotation is a hint for the Serializer:
- to record and persist additional attributes to an instance
This annotation is planned for the future
Use this annotation to provide additional filter attributes for the generation phase.
|
AnnotateTimestamp |
This annotation is a hint for the Serializer:
- to record and persist the time stamp of the recording
This annotation is planned for the future
Use this annotation to provide filter attributes for the generation phase.
|
Builder |
This annotation is a hint for the SetupGenerator:
- to use the given builder class for object construction
The conventions of a Builder are:
- each field has a corresponding with-method (setting the Field, returning the Builder)
- there exists a constructor (without arguments)
- there exists a build method (without arguments, returning the final object)
|
Factory |
This annotation is a hint for the SetupGenerator:
- to use the given static factory method for object construction
The conventions of a Factory are:
- each non-default-field has a corresponding parameter in the factory method
- each default field may or may not be part of the factory method
- if multiple methods match the specification (class and method name) then the shortest matching is selected
|
LoadFromFile |
This annotation is a hint for the SetupGenerator:
- to load the construction of the entity from file (using some kind of serialization reader)
Currently only supports primitive arrays.
|
Name |
This annotation is a generic one to assign a name to a type, method, field, or variable
|
Setter |
This annotation is a hint for the SetupGenerator:
- to treat the annotated method as setter method
Use this annotation to generate better readable tests.
|
SkipChecks |
This annotation is a hint for the MatcherGenerator:
- to skip the generation of a matcher for this entity
Use this annotation to keep tests concise, not generating matchers for fields that are irrelevant for the result
|
Copyright © 2020. All rights reserved.