[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/behat/classes/ -> behat_context_helper.php (summary)

Helper to get behat contexts from other contexts.

Copyright: 2014 David Monllaó
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 95 lines (3 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

behat_context_helper:: (3 methods):
  set_session()
  get()
  escape()


Class: behat_context_helper  - X-Ref

Helper to get behat contexts.

set_session(Environment $environment)   X-Ref
Sets the browser session.

param: Environment $environment
return: void

get($classname)   X-Ref
Gets the required context.

Getting a context you get access to all the steps
that uses direct API calls; steps returning step chains
can not be executed like this.

param: string $classname Context identifier (the class name).
return: behat_base

escape($label)   X-Ref
Translates string to XPath literal.

param: string $label label to escape
return: string escaped string.



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1