Commit 94544ee 1 parent c589dbf commit 94544ee Copy full SHA for 94544ee
File tree 7 files changed +51
-59
lines changed
7 files changed +51
-59
lines changed Original file line number Diff line number Diff line change 9
9
stopOnFailure =" false"
10
10
verbose =" true"
11
11
bootstrap =" bootstrap.php" >
12
+
12
13
<testsuites >
13
14
<testsuite name =" DB Tests" >
14
15
<directory suffix =" DatabaseTestExt.php" >../tests</directory >
15
16
</testsuite >
16
17
<testsuite name =" Unit Tests" >
17
- <directory suffix =" Test.php" >../tests/ElkArte</directory >
18
- <directory suffix =" Test.php" >../tests/subs</directory >
19
- <directory suffix =" Test.php" >../tests/sources</directory >
18
+ <directory suffix =" Test.php" >../tests</directory >
20
19
</testsuite >
21
20
<testsuite name =" Bootstrap Tests" >
22
21
<directory suffix =" BootstrapRunTestExt.php" >../tests</directory >
23
22
</testsuite >
24
23
</testsuites >
25
24
26
- <logging >
27
- <log type =" coverage-clover" target =" /tmp/coverage.madb.clover" />
28
- <log type =" coverage-text" target =" php://stdout" />
29
- </logging >
30
-
31
- <filter >
32
- <whitelist addUncoveredFilesFromWhitelist =" true" >
25
+ <coverage includeUncoveredFiles =" false" >
26
+ <include >
33
27
<directory suffix =" .php" >../sources</directory >
34
- <exclude >
35
- <directory suffix =" .php" >../sources/ext</directory >
36
- </exclude >
37
- </whitelist >
38
- </filter >
28
+ </include >
29
+ <exclude >
30
+ <directory suffix =" .php" >../sources/ext</directory >
31
+ </exclude >
32
+ <report >
33
+ <clover outputDirectory =" /tmp" outputFile =" madb.xml" />
34
+ </report >
35
+ </coverage >
39
36
40
37
<php >
41
38
<const name =" DBTYPE" value =" MySQL" />
Original file line number Diff line number Diff line change 3
3
<phpunit backupGlobals =" true"
4
4
colors =" true"
5
5
convertErrorsToExceptions =" true"
6
- convertNoticesToExceptions =" false "
6
+ convertNoticesToExceptions =" true "
7
7
convertWarningsToExceptions =" true"
8
8
processIsolation =" false"
9
9
stopOnFailure =" false"
10
10
verbose =" true"
11
11
bootstrap =" bootstrap.php" >
12
+
12
13
<testsuites >
13
14
<testsuite name =" DB Tests" >
14
15
<directory suffix =" DatabaseTestExt.php" >../tests</directory >
15
16
</testsuite >
16
17
<testsuite name =" Unit Tests" >
17
- <directory suffix =" Test.php" >../tests/ElkArte</directory >
18
- <directory suffix =" Test.php" >../tests/subs</directory >
19
- <directory suffix =" Test.php" >../tests/sources</directory >
18
+ <directory suffix =" Test.php" >../tests</directory >
20
19
</testsuite >
21
20
<testsuite name =" Bootstrap Tests" >
22
21
<directory suffix =" BootstrapRunTestExt.php" >../tests</directory >
23
22
</testsuite >
24
23
</testsuites >
25
24
26
- <logging >
27
- <log type =" coverage-clover" target =" /tmp/coverage.mydb.clover" />
28
- </logging >
29
-
30
- <filter >
31
- <whitelist addUncoveredFilesFromWhitelist =" true" >
25
+ <coverage includeUncoveredFiles =" false" >
26
+ <include >
32
27
<directory suffix =" .php" >../sources</directory >
33
- <exclude >
34
- <directory suffix =" .php" >../sources/ext</directory >
35
- </exclude >
36
- </whitelist >
37
- </filter >
28
+ </include >
29
+ <exclude >
30
+ <directory suffix =" .php" >../sources/ext</directory >
31
+ </exclude >
32
+ <report >
33
+ <clover outputDirectory =" /tmp" outputFile =" mydb.xml" />
34
+ </report >
35
+ </coverage >
38
36
39
37
<php >
40
38
<const name =" DBTYPE" value =" MySQL" />
Original file line number Diff line number Diff line change 9
9
stopOnFailure =" false"
10
10
verbose =" true"
11
11
bootstrap =" bootstrap.php" >
12
+
12
13
<testsuites >
13
14
<testsuite name =" DB Tests" >
14
15
<directory suffix =" DatabaseTestExt.php" >../tests</directory >
15
16
</testsuite >
16
17
<testsuite name =" Unit Tests" >
17
- <directory suffix =" Test.php" >../tests/ElkArte</directory >
18
- <directory suffix =" Test.php" >../tests/subs</directory >
19
- <directory suffix =" Test.php" >../tests/sources</directory >
18
+ <directory suffix =" Test.php" >../tests</directory >
20
19
</testsuite >
21
20
<testsuite name =" Bootstrap Tests" >
22
21
<directory suffix =" BootstrapRunTestExt.php" >../tests</directory >
23
22
</testsuite >
24
23
</testsuites >
25
24
26
- <logging >
27
- <log type =" coverage-clover" target =" /tmp/coverage.pgdb.clover" />
28
- </logging >
29
-
30
- <filter >
31
- <whitelist addUncoveredFilesFromWhitelist =" false" >
25
+ <coverage includeUncoveredFiles =" false" >
26
+ <include >
32
27
<directory suffix =" .php" >../sources</directory >
33
- <exclude >
34
- <directory suffix =" .php" >../sources/ext</directory >
35
- </exclude >
36
- </whitelist >
37
- </filter >
28
+ </include >
29
+ <exclude >
30
+ <directory suffix =" .php" >../sources/ext</directory >
31
+ </exclude >
32
+ <report >
33
+ <clover outputDirectory =" /tmp" outputFile =" pgdb.xml" />
34
+ </report >
35
+ </coverage >
38
36
39
37
<php >
40
38
<const name =" DBTYPE" value =" PostgreSQL" />
Original file line number Diff line number Diff line change 8
8
processIsolation =" false"
9
9
stopOnFailure =" false"
10
10
verbose =" true" >
11
+
11
12
<testsuites >
12
13
<testsuite name =" Static Tests" >
13
14
<directory suffix =" Static.php" >../tests/sources</directory >
Original file line number Diff line number Diff line change 10
10
verbose =" true"
11
11
beStrictAboutTestsThatDoNotTestAnything =" false"
12
12
bootstrap =" bootstrapInstall.php" >
13
+
13
14
<testsuites >
14
15
<testsuite name =" Browser Tests" >
15
16
<directory suffix =" Web.php" >../tests/install</directory >
16
17
<directory suffix =" Web.php" >../tests/headless</directory >
17
18
</testsuite >
18
19
</testsuites >
19
20
20
- < filter >
21
- <whitelist addUncoveredFilesFromWhitelist = " false " >
21
+ < coverage includeUncoveredFiles = " false " >
22
+ <include >
22
23
<directory suffix =" .php" >../sources</directory >
23
- <directory suffix =" .php" >../themes/default</directory >
24
- <exclude >
25
- <directory suffix =" .php" >../sources/ext</directory >
26
- <directory suffix =" .php" >../themes/ElkArte/Languages</directory >
27
- </exclude >
28
- </whitelist >
29
- </filter >
30
-
31
- <logging >
32
- <log type =" coverage-clover" target =" /tmp/coverage.web.clover" />
33
- </logging >
24
+ </include >
25
+ <exclude >
26
+ <directory suffix =" .php" >../sources/ext</directory >
27
+ </exclude >
28
+ <report >
29
+ <clover outputDirectory =" /tmp" outputFile =" web.xml" />
30
+ </report >
31
+ </coverage >
34
32
35
33
<php >
36
34
<const name =" DBTYPE" value =" MySQL" />
Original file line number Diff line number Diff line change @@ -18,5 +18,5 @@ vendor/bin/phpunit ${CONFIG}
18
18
# Agents will merge all coverage data...
19
19
if [[ " ${GITHUB_EVENT_NAME} " == " pull_request" ]]
20
20
then
21
- bash <( curl -s https://codecov.io/bash) -s " /tmp" -f ' *.clover '
21
+ bash <( curl -s https://codecov.io/bash) -s " /tmp" -f ' *.xml '
22
22
fi
Original file line number Diff line number Diff line change 5
5
/**
6
6
* TestCase class for language files integrity
7
7
*/
8
- class LanguageStringsTestStatic extends TestCase
8
+ class LanguageStringsTest extends TestCase
9
9
{
10
10
protected $ backupGlobalsExcludeList = ['user_info ' ];
11
11
You can’t perform that action at this time.
0 commit comments