forked from meadsteve/Behationary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.testing.php
35 lines (27 loc) · 1.17 KB
/
config.testing.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
/******************************************************************************
* This is an example config file, which loads the test context that
* ships with Behationary. You can use it to test your installation is
* working properly, or to run the Behationary's unit tests (which require
* the FakeContext class to be loaded).
*
* To use, rename to config.php.
*
* If you run composer update with the require-dev flag then a local Behat
* installation will be available in the vendor directory, and will be loaded
* automatically as this is already defined in our standard autoloader.
* If this is not available, or you want to test with a different version
* of Behat, then set $behatRootPath to the appropriate path.
******************************************************************************
*/
namespace Behationary;
// Only required if Behat not present in the vendor directory.
// $behatRootPath = "/path/to/behat";
$projectName = "Behationary FakeContext";
function getContexts() {
$BasePath = dirname(__FILE__);
include_once $BasePath . '/Tests/MeadSteve/Behationary/FakeContext.php';
return array(
'MeadSteve\Behationary\Tests\FakeContext',
);
}