Organizing Test Suites
Tags help you organize your Scenarios. You can associate multiple tags with a scenario and use these tags to craft test suites that achieve specific objectives.
Here are some of the possible ways in which you could use tags to categorize your test suite:
- By Features (e.g. reporting, accounting, auditing). This would allow you to create feature specific test suites.
- By Test characteristics (e.g. slow, fast). You can then choose the feedback cycle time that you are looking for from your tests. If you are trying to improve your cycle times then you know which category to focus your efforts on
- By Type of test (e.g. smoke, regression).
Twist makes it possible to run all scenarios associated with one or more tags. For example, you could run all tests that have that have the tags: accounting, slow , and regression.