Package dev.galasa.framework
Class TestRunner
java.lang.Object
dev.galasa.framework.BaseTestRunner
dev.galasa.framework.TestRunner
Run the supplied test class
-
Field Summary
Modifier and TypeFieldDescriptionprotected dev.galasa.framework.maven.repository.spi.IMavenRepository
protected org.apache.felix.bundlerepository.RepositoryAdmin
Fields inherited from class dev.galasa.framework.BaseTestRunner
bundleContext, bundleManager, cps, dss, fileSystem, framework, heartbeat, isResourcesAvailable, isRunOK, overrideProperties, ras, run, testStructure
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activate
(org.osgi.framework.BundleContext context) void
runTest
(ITestRunnerDataProvider dataProvider) void
runTest
(Properties bootstrapProperties, Properties overrideProperties) Run the supplied test classMethods inherited from class dev.galasa.framework.BaseTestRunner
createBeatingHeart, createNewTestStructure, deleteRunProperties, getCPS, getDSSKeyString, getFramework, incrimentMetric, init, markWaiting, saveAllOverridesPassedToArtifact, saveUsedCPSPropertiesToArtifact, shutdownFramework, stopHeartbeat, storeRasRunIdInDss, updateResult, updateStatus, writeTestStructure
-
Field Details
-
repositoryAdmin
protected org.apache.felix.bundlerepository.RepositoryAdmin repositoryAdmin -
mavenRepository
protected dev.galasa.framework.maven.repository.spi.IMavenRepository mavenRepository
-
-
Constructor Details
-
TestRunner
public TestRunner()
-
-
Method Details
-
runTest
public void runTest(Properties bootstrapProperties, Properties overrideProperties) throws TestRunException Run the supplied test class- Parameters:
bootstrapProperties
-overrideProperties
-- Throws:
TestRunException
-
runTest
- Throws:
TestRunException
-
activate
public void activate(org.osgi.framework.BundleContext context)
-