Package rife.bld.extension
Class TestsBadgeOperation
java.lang.Object
rife.bld.operations.AbstractOperation<T>
rife.bld.operations.AbstractProcessOperation<T>
rife.bld.operations.TestOperation<rife.bld.operations.JUnitOperation,rife.bld.operations.JUnitOptions>
rife.bld.operations.JUnitOperation
rife.bld.extension.TestsBadgeOperation
public class TestsBadgeOperation
extends rife.bld.operations.JUnitOperation
Extends the standard
TestOperation
and calls the TestsBadge service
with the credentials of your project and the test results.
Note that this will parse the resulting output of the test operation, which relies on JUnit 5's output.
- Since:
- 1.0
-
Field Summary
Fields inherited from class rife.bld.operations.JUnitOperation
DEFAULT_TEST_TOOL_JUNIT5
Fields inherited from class rife.bld.operations.TestOperation
testToolOptions_
Fields inherited from class rife.bld.operations.AbstractProcessOperation
classpath_, DEFAULT_JAVA_TOOL, errorProcessor_, errorProcessorThread_, javaOptions_, javaTool_, mainClass_, outputProcessor_, outputProcessorThread_, process_, successful_, workDirectory_
-
Constructor Summary
-
Method Summary
Methods inherited from class rife.bld.operations.JUnitOperation
createTestToolOptions, executeConstructProcessCommandList, fromProject
Methods inherited from class rife.bld.operations.TestOperation
testToolOptions, testToolOptions, testToolOptions
Methods inherited from class rife.bld.operations.AbstractProcessOperation
classpath, classpath, classpath, errorProcessor, errorProcessor, execute, executeStartProcess, javaOptions, javaOptions, javaTool, javaTool, mainClass, mainClass, outputProcessor, process, workDirectory, workDirectory
Methods inherited from class rife.bld.operations.AbstractOperation
executeOnce, executeOnce, silent, silent
-
Constructor Details
-
TestsBadgeOperation
public TestsBadgeOperation()Creates a new operation.- Since:
- 1.0
-
-
Method Details
-
url
Set the URL for the operation.- Parameters:
url
- the TestsBadge service update API URL- Returns:
- this operation instance
- Since:
- 1.0
-
apiKey
Set the API key for the operation.- Parameters:
apiKey
- the unique API key for your project- Returns:
- this operation instance
- Since:
- 1.0
-
url
Retrieves the URL for the operation.- Returns:
- the TestsBadge service update API URL
- Since:
- 1.0
-
apiKey
Retrieves the API key for the operation.- Returns:
- the unique API key for your project
- Since:
- 1.0
-
outputProcessor
- Overrides:
outputProcessor
in classrife.bld.operations.AbstractProcessOperation<rife.bld.operations.JUnitOperation>
-