:octocat: added group tag for sloww tests

This commit is contained in:
smiley
2023-03-16 17:43:09 +01:00
parent c4314d6088
commit 3afa888180
4 changed files with 17 additions and 6 deletions
+13 -6
View File
@@ -6,6 +6,11 @@
colors="true"
verbose="true"
>
<testsuites>
<testsuite name="php-qrcode test suite">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
@@ -15,16 +20,18 @@
<xml outputDirectory=".build/coverage/coverage-xml"/>
</report>
</coverage>
<testsuites>
<testsuite name="php-qrcode test suite">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<logging>
<junit outputFile=".build/logs/junit.xml"/>
</logging>
<!--
<groups>
<exclude>
<group>slow</group>
</exclude>
</groups>
-->
<php>
<!-- whether the test runs on CI or not - set to false to allow debug output -->
<!-- whether the test runs on CI - set to false to allow debug output -->
<const name="TEST_IS_CI" value="true"/>
</php>
</phpunit>
+1
View File
@@ -58,6 +58,7 @@ final class HanziTest extends DataInterfaceTestAbstract{
}
/**
* @group slow
* @dataProvider hanziProvider
*/
public function testValidateGB2312(string $chr):void{
+1
View File
@@ -77,6 +77,7 @@ final class KanjiTest extends DataInterfaceTestAbstract{
}
/**
* @group slow
* @dataProvider kanjiProvider
*/
public function testValidateSJIS(string $chr):void{
+2
View File
@@ -72,6 +72,7 @@ abstract class QRCodeReaderTestAbstract extends TestCase{
}
/**
* @group slow
* @dataProvider qrCodeProvider
*/
public function testReader(string $img, string $expected, bool $grayscale):void{
@@ -131,6 +132,7 @@ abstract class QRCodeReaderTestAbstract extends TestCase{
}
/**
* @group slow
* @dataProvider dataTestProvider
*/
public function testReadData(Version $version, EccLevel $ecc, string $expected):void{