1

I'm using assertContains() method and I want to add an exception because during the test, if this return false it's stopped and not running the second test.

I followed the PhpUnit documentation but I really don't understand exactly how can I apply those exceptions.

Any one can give some examples?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.