-
Notifications
You must be signed in to change notification settings - Fork 28
Generators
Jeff Ward edited this page Nov 26, 2022
·
2 revisions
Generators are used to generate class members or parts of statements. Testura.Code provides these generators:
-
ConstructorGenerator- Generate a class constructor -
FieldGenerator- Generate a class field -
Property- Generate a class property
-
ArgumentGenerator- Generate argument list for a method or constructor -
AttributeGenerator- Generate attributes -
BodyGenerator- 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 configurations -
ParameterGenerator- Generate parameters to a method or constructor -
ReferenceGenerator- Generate references (see reference section) -
TypeGenerator- Generate types
-
NunitGenerator- Generate Asserts