mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-30 12:07:32 +00:00
:octocat: added group tag for sloww tests
This commit is contained in:
+13
-6
@@ -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>
|
||||
|
||||
@@ -58,6 +58,7 @@ final class HanziTest extends DataInterfaceTestAbstract{
|
||||
}
|
||||
|
||||
/**
|
||||
* @group slow
|
||||
* @dataProvider hanziProvider
|
||||
*/
|
||||
public function testValidateGB2312(string $chr):void{
|
||||
|
||||
@@ -77,6 +77,7 @@ final class KanjiTest extends DataInterfaceTestAbstract{
|
||||
}
|
||||
|
||||
/**
|
||||
* @group slow
|
||||
* @dataProvider kanjiProvider
|
||||
*/
|
||||
public function testValidateSJIS(string $chr):void{
|
||||
|
||||
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user