PHP 클래스 Sanpi\Behatch\Context\SystemContext

상속: implements Behat\Behat\Context\Context
파일 보기 프로젝트 열기: behatch/contexts

공개 메소드들

메소드 설명
__construct ( $root = '.' )
after ( )
commandShouldFail ( ) Command should fail
commandShouldLastLessThan ( $seconds ) Command should last less than
commandShouldMoreLessThan ( $seconds ) Command should last more than
commandShouldSucceed ( ) Command should succeed
getTranslationResources ( )
iCreateTheFileContaining ( $filename, Behat\Gherkin\Node\PyStringNode $string )
iExecute ( $cmd ) Execute a command
iExecuteFromProjectRoot ( $cmd ) Execute a command from project root
ouputShouldNotContain ( $text ) Checks, that output not contains specified text.
outputShouldBe ( Behat\Gherkin\Node\PyStringNode $string )
outputShouldContain ( $text ) Checks, that output contains specified text.
outputShouldNotBe ( Behat\Gherkin\Node\PyStringNode $string )
printTheContentOfFile ( $filename )
putFileIntoField ( $file, $field ) Uploads a file using the specified input field

메소드 상세

__construct() 공개 메소드

public __construct ( $root = '.' )

after() 공개 메소드

public after ( )

commandShouldFail() 공개 메소드

Command should fail
public commandShouldFail ( )

commandShouldLastLessThan() 공개 메소드

Command should last less than
public commandShouldLastLessThan ( $seconds )

commandShouldMoreLessThan() 공개 메소드

Command should last more than
public commandShouldMoreLessThan ( $seconds )

commandShouldSucceed() 공개 메소드

Command should succeed

getTranslationResources() 공개 정적인 메소드

public static getTranslationResources ( )

iCreateTheFileContaining() 공개 메소드

public iCreateTheFileContaining ( $filename, Behat\Gherkin\Node\PyStringNode $string )
$string Behat\Gherkin\Node\PyStringNode

iExecute() 공개 메소드

Execute a command
public iExecute ( $cmd )

iExecuteFromProjectRoot() 공개 메소드

Execute a command from project root
public iExecuteFromProjectRoot ( $cmd )

ouputShouldNotContain() 공개 메소드

Checks, that output not contains specified text.
public ouputShouldNotContain ( $text )

outputShouldBe() 공개 메소드

public outputShouldBe ( Behat\Gherkin\Node\PyStringNode $string )
$string Behat\Gherkin\Node\PyStringNode

outputShouldContain() 공개 메소드

Checks, that output contains specified text.
public outputShouldContain ( $text )

outputShouldNotBe() 공개 메소드

public outputShouldNotBe ( Behat\Gherkin\Node\PyStringNode $string )
$string Behat\Gherkin\Node\PyStringNode

printTheContentOfFile() 공개 메소드

public printTheContentOfFile ( $filename )

putFileIntoField() 공개 메소드

Uploads a file using the specified input field
public putFileIntoField ( $file, $field )