Interface TestMeTemplateParams
public interface TestMeTemplateParams
Custom params injected into Velocity context for test generation templates. Can be accessed from Velocity test templates with the $ operator. i.e. $TESTED_CLASS.canonicalName.
Date: 24/10/2016.
- Author:
- Yaron Yamin
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Tested class namestatic final String
Current Day of month for numeric calculations.static final String
Current Hour for numeric calculations.static final String
JDK version of test module were test is being generated instance ofJavaVersion
static final String
configured max recursion depth for object graph introspectionstatic final String
Current Minute for numeric calculations.static final String
instance ofMockitoMockBuilder
static final String
Current English Month name.static final String
Tested class packagestatic final String
instance ofPowerMockBuilder
static final String
Current Second for numeric calculations.static final String
instance ofStringUtils
static final String
instance ofTestBuilder
static final String
Type
- representing target Class under teststatic final String
Language of class under test: Groovy, Java, Scalastatic final String
static final String
instance ofTestSubjectInspector
-
Field Details
-
TESTED_CLASS
Type
- representing target Class under test- See Also:
-
PACKAGE_NAME
Tested class package- See Also:
-
CLASS_NAME
Tested class name- See Also:
-
TestBuilder
instance ofTestBuilder
- See Also:
-
StringUtils
instance ofStringUtils
- See Also:
-
MockitoMockBuilder
instance ofMockitoMockBuilder
- See Also:
-
PowerMockBuilder
instance ofPowerMockBuilder
- See Also:
-
TestSubjectUtils
instance ofTestSubjectInspector
- See Also:
-
JAVA_VERSION
JDK version of test module were test is being generated instance ofJavaVersion
- See Also:
-
TestedClasspathJars
- See Also:
-
MAX_RECURSION_DEPTH
configured max recursion depth for object graph introspection -
MONTH_NAME_EN
Current English Month name. format MMMM- See Also:
-
DAY_NUMERIC
Current Day of month for numeric calculations. i.e. if today is January the 2nd then DAY_NUMERIC is 2- See Also:
-
HOUR_NUMERIC
Current Hour for numeric calculations. i.e. if the current time is 09:45 then HOUR_NUMERIC is 9- See Also:
-
MINUTE_NUMERIC
Current Minute for numeric calculations. i.e. if the current time is 09:05 then MINUTE_NUMERIC is 5- See Also:
-
SECOND_NUMERIC
Current Second for numeric calculations. i.e. if the current time is 09:15:05 then SECOND_NUMERIC is 5- See Also:
-
TESTED_CLASS_LANGUAGE
Language of class under test: Groovy, Java, Scala- See Also:
-