Convert relevant tests to testscenarios
Registered by
Michael Still
Python's testscenarios support allows us to remove boiler plate code in some tests, and in other cases to report more unique errors. An example scenario test:
+++++
from testscenarios import TestWithScenarios
scenario1 = ('basic', {'attribute': 'value'})
scenario2 = ('advanced', {'attribute': 'value2'})
class SampleWithScena
scenarios = [scenario1, scenario2]
def test_demo(self):
+++++
This blueprint is to track changes which are converting tests to scenarios.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Michael Still
- Direction:
- Needs approval
- Assignee:
- Michael Still
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)
(?)