How to mark a test case as Pass in PHPUnit?

How to mark a test case as Pass in PHPUnit?

Hi Mark!

To mark a test case as passed in PHPUnit, you need to use the following command in the catch block of your test scripts.

catch (Exception $e){
self::$driver->executeScript("lambda-status=passed");
}

Here is the GitHub repo for the code samples.