I looked into manual here: http://codeception.com/docs/07-AdvancedUsage and there is ability to set @depens annotation for method.
class InvoiceStatusCest
{
public function testOne()
{
}
/**
* @depends testOne
*/
public function testTwo()
{
}
}
But for my surprise my testTwo() always skips, even if testOne() if empty or passed...
i see in console
Running InvoiceStatusCest.testOne - Ok
- Skipped
Codeception has some seriously finicking annotation
For instance this
will NOT work but this
will work
NOTE the single * versus the ** at the beginning.
Just spent 4 hours of my life discovering this...