%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/water/vendor/behat/gherkin/tests/Behat/Gherkin/Filter/ |
Upload File : |
<?php namespace Tests\Behat\Gherkin\Filter; use Behat\Gherkin\Keywords\ArrayKeywords; use Behat\Gherkin\Lexer; use Behat\Gherkin\Parser; abstract class FilterTest extends \PHPUnit_Framework_TestCase { protected function getParser() { return new Parser( new Lexer( new ArrayKeywords(array( 'en' => array( 'feature' => 'Feature', 'background' => 'Background', 'scenario' => 'Scenario', 'scenario_outline' => 'Scenario Outline|Scenario Template', 'examples' => 'Examples|Scenarios', 'given' => 'Given', 'when' => 'When', 'then' => 'Then', 'and' => 'And', 'but' => 'But' ) )) ) ); } protected function getGherkinFeature() { return <<<GHERKIN Feature: Long feature with outline Scenario: Scenario#1 Given initial step When action occurs Then outcomes should be visible Scenario: Scenario#2 Given initial step And another initial step When action occurs Then outcomes should be visible Scenario Outline: Scenario#3 When <action> occurs Then <outcome> should be visible Examples: | action | outcome | | act#1 | out#1 | | act#2 | out#2 | | act#3 | out#3 | GHERKIN; } protected function getParsedFeature() { return $this->getParser()->parse($this->getGherkinFeature()); } }