Generators - Testura/Testura.Code GitHub Wiki
Generators
Generators are used to generate class members or parts of statements. Testura.Code provides these generators:
Class
ConstructorGenerator
- Generate a class constructorFieldGenerator
- Generate a class fieldProperty
- Generate a class property
Common
ArgumentGenerator
- Generate argument list for a method or constructorAttributeGenerator
- Generate attributesBodyGenerator
- Generate body to class, constructor, method etc,ModifierGenerator
- Generate the modifiers (public, private, static, etc)PropertyGenerator
- Generate properties within a class with various getter / setter configurationsParameterGenerator
- Generate parameters to a method or constructorReferenceGenerator
- Generate references (see reference section)TypeGenerator
- Generate types
Special
NunitGenerator
- Generate Asserts