Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Gliffy Diagram
nametestsets_sample_workflow

Since Xray uses issue types in order to map the different testing entities, you're can take advantage of it in order to implement workflow mechanisms.

...

  • Don’t overcomplicate the workflows but respect your internal process
    • Add "reviewing statuses” where appropriate (at specification and execution)
  • Define global workflows for your test related issues and also for your requirements


Xray provides some workflow control mechanisms that are able to integrate with JIRA workflows. All these settings can be found in Global Preferences.

It's possible, for example, to:

  • Disallow executions of Tests with workflow statuses
  • Disallow executions with workflow statuses
    • For Test Executions in specific status
  • Set the "In progress Test Execution workflow status"
    • After the first run (i.e. after one the Test Runs that are part of that Test Execution is run)
  • Set the "Resolved Test Execution workflow status"
    • When all runs are in final status  (i.e. after all Test Runs that are part of that Test Execution have been run and have a final status)
  • Set the Resolution for Resolved Test Execution, when the "Resolved Test Execution workflow status" is set

 

Info
titlePlease note

The following workflows being presented are just examples. You should implement a workflow adapted to your own needs.


Tests and Pre-Conditions

Gliffy Diagram
nametests_preconditions_sample_workflow

...

  • Have a status for “deprecated” testsTests; you can then disallow executions for Tests in this status, in Xray settings 
  • Have an initial stage for the specification (e.g. “draft” or “new”) and then another status whenever it’s ready to be used

Test Sets

In Test Sets, workflows can be used to identify that a given Test Set is fully specified or not. They can also be used (e.g. by companies/departments providing testing services) as a way to manage the implementation and the delivery of the Test cases associated with that Test Set.

 

Gliffy Diagram
nametestsets_sample_workflow

Recommendations

  • You can eventualy implement similar workflows for both Tests, Pre-Conditions and Test Sets
  • In more conventional scenarios, it may be preferable to keep this workflow as simple as possibleHa

Test Executions


Gliffy Diagram
namesimple_workflow

Recommendations

  • Have To keep it simple, you can have an initial status (e.g. “new”) then another when it’s in progress (e.g. “in progress”) and then another when it’s finished (e.g. “closed”)
  • If your Test Executions needs approval or you have a reviewing state, you can then disallow executions for it, in Xray settings 
  • You may need to have an interim status if you need to review the results of a Test Execution; for Test Executions it may be quite appropriate, both for manual and automated testing (due to flaky tests)

...