Skip to content

Instantly share code, notes, and snippets.

@antonioribeiro
Created July 23, 2014 19:12
Show Gist options
  • Select an option

  • Save antonioribeiro/e12fdf54bab87243128a to your computer and use it in GitHub Desktop.

Select an option

Save antonioribeiro/e12fdf54bab87243128a to your computer and use it in GitHub Desktop.
boot laravel on codeception _bootstrap
<?php
include __DIR__ . '/../vendor/autoload.php';
$app = require_once __DIR__ . '/../bootstrap/start.php';
$app->boot();
\Codeception\Util\Autoload::registerSuffix('Page', __DIR__.DIRECTORY_SEPARATOR.'_pages');
\Codeception\Util\Autoload::registerSuffix('Steps', __DIR__.DIRECTORY_SEPARATOR.'_steps');
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment