An enhancement to a Test task that adds Cobertura code coverage functionality.
| Constructor and description |
|---|
CoberturaTestTaskEnhancement
(org.gradle.api.tasks.testing.Test pTask, CoberturaExtension pExtension, CoberturaContext pContext)Create a new CoberturaTestEnhancement. |
| Type | Name and description |
|---|---|
void |
afterTestExecution()Restore the test task from code coverage analysis during test execution. |
void |
beforeTestExecution()Prepare the test task for code coverage analysis during test execution. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Create a new CoberturaTestEnhancement.
pTask - The task to enhance.pExtension - The project's cobertura extension.pContext - The context in which the enhanced test execution runs.