-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlab.config
More file actions
executable file
·46 lines (34 loc) · 1021 Bytes
/
lab.config
File metadata and controls
executable file
·46 lines (34 loc) · 1021 Bytes
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
36
37
38
39
40
41
42
43
44
45
46
<?php namespace Dotink\Lab {
return [
//
// This defines a relative or absolute path to our tests directory containing our
// test files
//
'tests_directory' => 'test/routines',
//
// By default we disable autoloading. The prevents us from loading and depending on any
// classes by accident forcing us to purposefully include them or mock them
//
'disable_autoloading' => TRUE,
//
// The global 'setup' key can contain a closure to run fixture logic at the beginning of
// every
//
'setup' => function($data, $shared) {
$shared->coverageEngine->ignoreFile('test/sample');
},
//
// The global 'cleanup' key can contain a closure to run fixture cleanup logic at the end
// of every test file
//
'cleanup' => function($config, $shared) {
},
//
// Arbitrary values can be specified, all 'setup' and 'cleanup' functions (global) and per
// test file are given the $data array as a first parameter.
//
'data' => [
'root' => realpath(__DIR__)
]
];
}