Package org.utplsql.api
Class TestRunner
- java.lang.Object
-
- org.utplsql.api.TestRunner
-
public class TestRunner extends Object
Created by Vinicius Avellar on 12/04/2017.- Author:
- Vinicius Avellar, pesse
-
-
Constructor Summary
Constructors Constructor Description TestRunner()
-
Method Summary
-
-
-
Method Detail
-
addPath
public TestRunner addPath(String path)
-
addPathList
public TestRunner addPathList(List<String> paths)
-
addReporter
public TestRunner addReporter(Reporter reporter)
-
addReporter
public TestRunner addReporter(String reporterName)
-
colorConsole
public TestRunner colorConsole(boolean colorConsole)
-
addReporterList
public TestRunner addReporterList(List<Reporter> reporterList)
-
addCoverageScheme
public TestRunner addCoverageScheme(String coverageScheme)
-
addCoverageSchemes
public TestRunner addCoverageSchemes(Collection<String> schemaNames)
-
includeObject
public TestRunner includeObject(String obj)
-
excludeObject
public TestRunner excludeObject(String obj)
-
includeObjects
public TestRunner includeObjects(List<String> obj)
-
excludeObjects
public TestRunner excludeObjects(List<String> obj)
-
includeSchemaExpr
public TestRunner includeSchemaExpr(String expr)
-
excludeSchemaExpr
public TestRunner excludeSchemaExpr(String expr)
-
includeObjectExpr
public TestRunner includeObjectExpr(String expr)
-
excludeObjectExpr
public TestRunner excludeObjectExpr(String expr)
-
sourceMappingOptions
public TestRunner sourceMappingOptions(FileMapperOptions mapperOptions)
-
testMappingOptions
public TestRunner testMappingOptions(FileMapperOptions mapperOptions)
-
failOnErrors
public TestRunner failOnErrors(boolean failOnErrors)
-
skipCompatibilityCheck
public TestRunner skipCompatibilityCheck(boolean skipCompatibilityCheck)
-
setReporterFactory
public TestRunner setReporterFactory(ReporterFactory reporterFactory)
-
randomTestOrder
public TestRunner randomTestOrder(boolean randomTestOrder)
-
randomTestOrderSeed
public TestRunner randomTestOrderSeed(Integer seed)
-
addTag
public TestRunner addTag(String tag)
-
addTags
public TestRunner addTags(Collection<String> tags)
-
oraStuckTimeout
public TestRunner oraStuckTimeout(Integer oraStuckTimeout)
-
getOptions
public TestRunnerOptions getOptions()
-
run
public void run(Connection conn) throws SQLException
- Throws:
SQLException
-
getUsedDatabaseVersion
public Version getUsedDatabaseVersion()
Returns the databaseVersion the TestRunner was run against- Returns:
- Version of the database the TestRunner was run against
-
-