In fact, I managed to solve this myself, here's how, if someone is interested.
I created a new helper class inside _support.
<?php
class DataHelper extends \Codeception\Module
{
public function _beforeSuite()
{
}
public function _afterSuite()
{
}
}
You can then enable this as a module in any set configuration (.yml files), for example:
modules:
enabled:
- DataHelper
Sacha source
share