Sha256: f3157fced721d16a54564f97baca0401bed348032e9e9d557f6c2585375dc98a
Contents?: true
Size: 1.28 KB
Versions: 9
Compression:
Stored size: 1.28 KB
Contents
<?php /** * @package Cuke4Php */ /** * @package Cuke4Php */ class TestSteps extends CucumberSteps { /** * Given /^successful$/ **/ public function stepSuccessful() {} /** * Given /^incomplete$/ */ public function stepIncomplete() { self::markTestIncomplete('incomplete'); } /** * Given /^skipped$/ */ public function stepSkipped() { self::markTestSkipped('skipped'); } /** * Given /^pending$/ */ public function stepPending() { self::markPending('pending'); } /** * Given /^a failed expectation$/ */ public function stepFailed() { self::assertEquals(true, false); } /** * Given /^an exception is thrown$/ */ public function stepException() { throw new Exception('test exception'); } /** * Given /^"arg1" not equal to "arg2"$/ */ public function stepNotEqual($arg1,$arg2) { self::assertTrue($arg1 !== $arg2); } /** * @one */ public function afterWithOneTag() { } /** * */ public function afterWithNoTags() { } /** * @one */ public function beforeWithOneTag() { } /** * */ public function beforeWithNoTags() { } } ?>
Version data entries
9 entries across 9 versions & 1 rubygems