File tree Expand file tree Collapse file tree 4 files changed +36
-4
lines changed Expand file tree Collapse file tree 4 files changed +36
-4
lines changed Original file line number Diff line number Diff line change @@ -27,3 +27,6 @@ util/output
27
27
28
28
# Sami docs generator
29
29
/sami.phar
30
+
31
+ # PHPUnit
32
+ phpunit.xml
Original file line number Diff line number Diff line change 6
6
"license" : " Apache-2.0" ,
7
7
"authors" : [
8
8
{
9
- "name" : " Zachary Tong"
9
+ "name" : " Zachary Tong"
10
+ },
11
+ {
12
+ "name" : " Enrico Zimuel"
10
13
}
11
14
],
12
15
"require" : {
18
21
"require-dev" : {
19
22
"cpliakas/git-wrapper" : " ~1.0" ,
20
23
"doctrine/inflector" : " ^1.1" ,
21
- "mockery/mockery" : " 0.9.4 " ,
24
+ "mockery/mockery" : " ^1.2 " ,
22
25
"phpstan/phpstan-shim" : " 0.9.1" ,
23
26
"phpunit/phpunit" : " 6.3.0" ,
24
27
"squizlabs/php_codesniffer" : " 3.0.2" ,
36
39
},
37
40
"autoload-dev" : {
38
41
"psr-4" : {
39
- "Elasticsearch\\ Tests\\ " : " tests/Elasticsearch/Tests/"
42
+ "Elasticsearch\\ Tests\\ " : " tests/Elasticsearch/Tests/" ,
43
+ "Elasticsearch\\ IntegrationTests\\ " : " tests/Elasticsearch/IntegrationTests/"
40
44
}
41
45
},
42
46
"config" : {
Original file line number Diff line number Diff line change 9
9
beStrictAboutOutputDuringTests =" true"
10
10
>
11
11
<php >
12
- <server name =" ES_TEST_HOST" value =" http:// localhost:9200" />
12
+ <server name =" ES_TEST_HOST" value =" localhost:9200" />
13
13
</php >
14
14
<testsuites >
15
15
<testsuite name =" Tests" >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi : noNamespaceSchemaLocation =" http://schema.phpunit.de/6.3/phpunit.xsd"
4
+ bootstrap =" tests/bootstrap.php"
5
+ colors =" true"
6
+ failOnRisky =" true"
7
+ verbose =" true"
8
+ beStrictAboutChangesToGlobalState =" true"
9
+ beStrictAboutOutputDuringTests =" true"
10
+ >
11
+ <php >
12
+ <server name =" ES_TEST_HOST" value =" " />
13
+ </php >
14
+ <testsuites >
15
+ <testsuite name =" Tests" >
16
+ <directory >tests</directory >
17
+ <exclude >tests/Elasticsearch/Tests/YamlRunnerTest.php</exclude >
18
+ </testsuite >
19
+ </testsuites >
20
+ <filter >
21
+ <whitelist >
22
+ <directory suffix =" .php" >src</directory >
23
+ </whitelist >
24
+ </filter >
25
+ </phpunit >
You can’t perform that action at this time.
0 commit comments