lundi 11 janvier 2016

Conditional based on whether Codeception test passes or not

I'm getting into BDD with Codeception, and noticed it's better as a scripting engine than a testing framework! I want to run a PHP program where the program flow control is a conditional based on whether a Codeception test passes or not. So that:

<?php
if ( some cept or cest passes){do something...}

I can think of many ways, what is the best?

Aucun commentaire:

Enregistrer un commentaire