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?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.