net.thucydides.plugins.jira
Class JiraListener
java.lang.Object
net.thucydides.plugins.jira.JiraListener
- All Implemented Interfaces:
- net.thucydides.core.steps.StepListener
public class JiraListener
- extends Object
- implements net.thucydides.core.steps.StepListener
Updates JIRA issues referenced in a story with a link to the corresponding story report.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentStory
public net.thucydides.core.model.Story currentStory
JiraListener
public JiraListener(IssueTracker issueTracker,
net.thucydides.core.util.EnvironmentVariables environmentVariables,
WorkflowLoader loader)
JiraListener
public JiraListener()
shouldUpdateIssues
protected boolean shouldUpdateIssues()
shouldUpdateWorkflow
protected boolean shouldUpdateWorkflow()
getIssueTracker
protected IssueTracker getIssueTracker()
getWorkflow
protected Workflow getWorkflow()
testSuiteStarted
public void testSuiteStarted(Class<?> testCase)
- Specified by:
testSuiteStarted in interface net.thucydides.core.steps.StepListener
testSuiteStarted
public void testSuiteStarted(net.thucydides.core.model.Story story)
- Specified by:
testSuiteStarted in interface net.thucydides.core.steps.StepListener
testStarted
public void testStarted(String testName)
- Specified by:
testStarted in interface net.thucydides.core.steps.StepListener
testFinished
public void testFinished(net.thucydides.core.model.TestOutcome result)
- Specified by:
testFinished in interface net.thucydides.core.steps.StepListener
testRetried
public void testRetried()
- Specified by:
testRetried in interface net.thucydides.core.steps.StepListener
testSuiteFinished
public void testSuiteFinished()
- Specified by:
testSuiteFinished in interface net.thucydides.core.steps.StepListener
formatTestResultsLink
public String formatTestResultsLink(String reportUrl,
String reportName)
stepStarted
public void stepStarted(net.thucydides.core.steps.ExecutedStepDescription executedStepDescription)
- Specified by:
stepStarted in interface net.thucydides.core.steps.StepListener
skippedStepStarted
public void skippedStepStarted(net.thucydides.core.steps.ExecutedStepDescription description)
- Specified by:
skippedStepStarted in interface net.thucydides.core.steps.StepListener
stepFailed
public void stepFailed(net.thucydides.core.steps.StepFailure stepFailure)
- Specified by:
stepFailed in interface net.thucydides.core.steps.StepListener
lastStepFailed
public void lastStepFailed(net.thucydides.core.steps.StepFailure stepFailure)
- Specified by:
lastStepFailed in interface net.thucydides.core.steps.StepListener
stepIgnored
public void stepIgnored()
- Specified by:
stepIgnored in interface net.thucydides.core.steps.StepListener
stepIgnored
public void stepIgnored(String s)
stepPending
public void stepPending()
- Specified by:
stepPending in interface net.thucydides.core.steps.StepListener
stepPending
public void stepPending(String s)
- Specified by:
stepPending in interface net.thucydides.core.steps.StepListener
assumptionViolated
public void assumptionViolated(String s)
- Specified by:
assumptionViolated in interface net.thucydides.core.steps.StepListener
stepFinished
public void stepFinished()
- Specified by:
stepFinished in interface net.thucydides.core.steps.StepListener
testFailed
public void testFailed(net.thucydides.core.model.TestOutcome testOutcome,
Throwable cause)
- Specified by:
testFailed in interface net.thucydides.core.steps.StepListener
testIgnored
public void testIgnored()
- Specified by:
testIgnored in interface net.thucydides.core.steps.StepListener
notifyScreenChange
public void notifyScreenChange()
- Specified by:
notifyScreenChange in interface net.thucydides.core.steps.StepListener
useExamplesFrom
public void useExamplesFrom(net.thucydides.core.model.DataTable dataTable)
- Specified by:
useExamplesFrom in interface net.thucydides.core.steps.StepListener
exampleStarted
public void exampleStarted(Map<String,String> stringStringMap)
- Specified by:
exampleStarted in interface net.thucydides.core.steps.StepListener
exampleStarted
public void exampleStarted()
exampleFinished
public void exampleFinished()
- Specified by:
exampleFinished in interface net.thucydides.core.steps.StepListener
Copyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.