How to mark a test case as Fail in PHPUnit?
Hi Mark!
To mark a test case as Fail in PHPUnit, you need to pass the following command in the try block of your test script.
self::$driver->executeScript("lambda-status=failed");
Here is the GitHub repo for the code samples.