java.lang.Object
org.testng.xml.XmlSuite
tech.units.tck.TCKRunner
public class TCKRunner
extends org.testng.xml.XmlSuite
implements Tool, tech.uom.lib.common.function.Versioned<String>
Main class for executing the JSR 385 TCK.
- Since:
- 1.0
- Version:
- 2.5, October 31, 2023
- Author:
- Werner Keil
-
Nested Class Summary
Nested classes/interfaces inherited from class org.testng.xml.XmlSuite
org.testng.xml.XmlSuite.FailurePolicy, org.testng.xml.XmlSuite.ParallelMode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
JSR Base packagestatic final String
Section prefixstatic final String
The Spec IDstatic final String
The Spec VersionFields inherited from class org.testng.xml.XmlSuite
DEFAULT_ALLOW_RETURN_VALUES, DEFAULT_CONFIG_FAILURE_POLICY, DEFAULT_DATA_PROVIDER_THREAD_COUNT, DEFAULT_GROUP_BY_INSTANCES, DEFAULT_JUNIT, DEFAULT_MIXED, DEFAULT_PARALLEL, DEFAULT_PRESERVE_ORDER, DEFAULT_SKIP_FAILED_INVOCATION_COUNTS, DEFAULT_THREAD_COUNT, DEFAULT_VERBOSE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Set<SourceVersion>
static final void
Main methodint
run
(InputStream in, OutputStream out, OutputStream err, String... args) Main method to start the TCK.Methods inherited from class org.testng.xml.XmlSuite
addExcludedGroup, addIncludedGroup, addListener, addTest, clone, equals, getAllowReturnValues, getAllParameters, getChildSuites, getConfigFailurePolicy, getDataProviderThreadCount, getExcludedGroups, getFileName, getGroupByInstances, getGroups, getGuiceStage, getIncludedGroups, getListeners, getLocalListeners, getMethodSelectors, getName, getObjectFactory, getObjectFactoryClass, getPackageNames, getPackages, getParallel, getParameter, getParameters, getParentModule, getParentSuite, getPreserveOrder, getSuiteFiles, getTest, getTests, getThreadCount, getTimeOut, getTimeOut, getVerbose, getXmlMethodSelectors, getXmlPackages, hashCode, isJUnit, isParsed, onListenerElement, onMethodSelectorElement, onPackagesElement, onParameterElement, onSuiteFilesElement, setAllowReturnValues, setConfigFailurePolicy, setDataProviderThreadCount, setExcludedGroups, setFileName, setGroupByInstances, setGroups, setGuiceStage, setIncludedGroups, setJunit, setJUnit, setListeners, setMethodSelectors, setMethodSelectors, setName, setObjectFactory, setObjectFactoryClass, setPackages, setParallel, setParameters, setParentModule, setParentSuite, setParsed, setPreserveOrder, setSkipFailedInvocationCounts, setSuiteFiles, setTests, setThreadCount, setTimeOut, setVerbose, setXmlMethodSelectors, setXmlPackages, shallowCopy, skipFailedInvocationCounts, toString, toXml
-
Field Details
-
SECTION_PREFIX
Section prefix- See Also:
-
MEASURE_PACKAGE
JSR Base package- See Also:
-
SPEC_ID
The Spec ID- See Also:
-
SPEC_VERSION
The Spec Version- See Also:
-
-
Constructor Details
-
TCKRunner
public TCKRunner()Default constructor
-
-
Method Details
-
run
Main method to start the TCK. Optional arguments are:- -Dtech.units.tck.profile for defining the profile for TestNG groups (default: full).
- -Dtech.units.tck.outputDir for defining the output directory TestNG uses (default: ./target/tck-output).
- -Dtech.units.tck.verbose=true to enable TestNG verbose mode.
- -Dtech.units.tck.reportFile=targetFile.txt for defining the TCK result summary report target file (default: ./target/tck-results.txt).
-
getVersion
- Specified by:
getVersion
in interfacetech.uom.lib.common.function.Versioned<String>
-
getSourceVersions
- Specified by:
getSourceVersions
in interfaceTool
-
main
Main method- Parameters:
args
- the arguments
-