Hi. I'm fairly new to Codeception and I'm trying to figure out how I can get notified via email when my tests fail.
I am using the _afterSuite() function in my Helper class to send myself an email now but I am getting multiple emails depending on the number of envs I'm running since _afterSuite() is called per env. Is there a way I can check within _afterSuite() the number of envs set in queue to run so I can send the email notice after the last env runs?
Thanks in advance!