corejet.jira

JIRA data source for corejet.testrunner
Download

corejet.jira Ranking & Summary

Advertisement

  • Rating:
  • License:
  • ZPL
  • Publisher Name:
  • Martin Aspeli
  • Publisher web site:
  • http://plone.org/support

corejet.jira Tags


corejet.jira Description

JIRA data source for corejet.testrunner corejet.jira is a Python library that provides a requirements catalogue source for corejet.testrunner that can fetch requirements from JIRA.To use it, make sure it is installed in the working set of the testrunner. If using Buildout, you can do this with:recipe = corejet.testrunnereggs = corejet.jira < other packages >defaults = Here is an example command line invocation:./bin/test -s corejet.core --corejet="jira,url=https://acme.jira.com,username=corejet,password=secret,project=Acme Corp,filter=10151,pointsField=10060,epicField=10061,acceptanceCriteriaField=10088"The --corejet option must start with jira, followed by a set of parameters that indicate how to connect to JIRA. The parameters are:url=< url > URL of JIRA instanceusername=< username > username to use to connectpassword=< password > password to use to connectproject=< name > Name of projectfilter=< id > Numeric id of filter that returns storiespointsField=< id > Numeric id of field containing story pointsepicField=< id > Numeric id of field indicating epic for a storyacceptanceCriteriaField=< id > Numeric id of field containing acceptance criteria (scenarios)This presumes JIRA is set up with a filter that returns all stories you want to include (e.g. return all valid issues of type Story in the project, if using GreenHopper). The various field ids describe the fields that provide story points, epic/theme (either a string or a reference to another issue), and a field with acceptance criteria.The first two are standard GreenHopper fields. The acceptance criteria field must be added manually. It should be a plain text field containing scenarios in simple Gherkin syntax, e.g.:Scenario: First scenarioGiven a precondition And another preconditionWhen something happens And something else happensThen a result is expected And another result is expectedScenario: Second scenarioGiven another preconditionWhen something else happensThen a different result is expectedThe parser is relatively forgiving, but note:- The parser is case-insensitive- Zero or more scenarios may be present- Scenarios must start with "Scenario: " followed by a name- The "Given" clause is optional, but must come first in a scenario- The "When" clause is required, and must come before the "Then" clause- The "Then"" clause is also required- An "And" clause can come after any "Given", "When" or "Then", but not first. Requirements: · Python What's New in This Release: · Fix broken package


corejet.jira Related Software