-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtesto.php
More file actions
44 lines (41 loc) · 1.33 KB
/
testo.php
File metadata and controls
44 lines (41 loc) · 1.33 KB
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
<?php
declare(strict_types=1);
use Testo\Application\Config\ApplicationConfig;
use Testo\Application\Config\FinderConfig;
use Testo\Application\Config\Plugin\SuitePlugins;
use Testo\Application\Config\SuiteConfig;
use Testo\Bench\BenchmarkPlugin;
use Testo\Inline\InlineTestPlugin;
return new ApplicationConfig(
suites: \array_merge(
[
new SuiteConfig(
name: 'SRC',
location: new FinderConfig(
include: ['src'],
),
plugins: SuitePlugins::only(
new InlineTestPlugin(),
new BenchmarkPlugin(),
),
),
],
# If running in CI, skip the sandbox
\filter_var(dump(\getenv('TESTO_CI')), FILTER_VALIDATE_BOOLEAN) ? [] : [
new SuiteConfig(
name: 'sandbox',
location: new FinderConfig(
include: ['tests/Testo'],
),
),
],
require 'tests/Assert/suites.php',
require 'tests/Common/suites.php',
require 'tests/Lifecycle/suites.php',
require 'tests/Data/suites.php',
require 'tests/Bench/suites.php',
require 'tests/Application/suites.php',
require 'tests/Output/suites.php',
require 'tests/Test/suites.php',
),
);