Sequence solves data cleanup issue in alternative way.
Instead cleaning up the database between tests,
you can use generated unique names, that should not conflict.
When you create article on a site, for instance, you can assign it a unique name and then check it.
This module has no actions, but introduces a function sq for generating unique sequences within test and
sqs for generating unique sequences across suite.
Usage
Function sq generates sequence, the only parameter it takes, is id.
You can get back to previously generated sequence using that id:
Example:
Populating Database:
Cest Suite tests:
Config
By default produces unique string with param as a prefix:
This behavior can be configured using prefix config param.