hiptest/hiptest-publisher

View on GitHub
lib/templates/behat/library.hbs

Summary

Maintainability
Test Coverage
<?php
use Behat\Behat\Tester\Exception\PendingException;
use Behat\Behat\Context\SnippetAcceptingContext;
use Behat\Gherkin\Node\PyStringNode;
use Behat\Gherkin\Node\TableNode;

require_once('Actionwords.php');

class {{camelize rendered_children.name}}FeatureContext implements SnippetAcceptingContext {{#curly}}{{#indent}}
public function __construct() {{#curly}}{{#indent}}
$this->actionwords = new Actionwords();{{/indent}}
{{/curly}}
{{#each rendered_children.library_actionwords as |actionword|}}
{{{actionword}}}{{/each}}{{/indent}}
{{/curly}}
?>