* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Behat\Testwork\Tester\Result; /** * Represents a test result. * * @author Konstantin Kudryashov */ interface TestResult { const PASSED = 0; const SKIPPED = 10; const PENDING = 20; const FAILED = 99; /** * Checks that test has passed. * * @return Boolean */ public function isPassed(); /** * Returns tester result code. * * @return integer */ public function getResultCode(); }