Browse Source

Group PostgreSQL tests as slow

J. King 3 months ago
parent
commit
8dbf237626

+ 1
- 1
RoboFile.php View File

@@ -107,7 +107,7 @@ class RoboFile extends \Robo\Tasks {
107 107
                 $set = ["--exclude-group", "optional,slow"];
108 108
                 break;
109 109
             case "coverage":
110
-                $set = ["--exclude-group", "optional,excludeFromCoverage"];
110
+                $set = ["--exclude-group", "optional,coverageOptional"];
111 111
                 break;
112 112
             case "full":
113 113
                 $set = [];

+ 1
- 0
tests/cases/Db/PostgreSQL/TestCreation.php View File

@@ -10,6 +10,7 @@ use JKingWeb\Arsse\Arsse;
10 10
 use JKingWeb\Arsse\Db\PostgreSQL\Driver;
11 11
 
12 12
 /**
13
+ * @group slow
13 14
  * @covers \JKingWeb\Arsse\Db\PostgreSQL\Driver<extended> */
14 15
 class TestCreation extends \JKingWeb\Arsse\Test\AbstractTest {
15 16
     /** @dataProvider provideConnectionStrings */

+ 2
- 1
tests/cases/Db/PostgreSQL/TestDatabase.php View File

@@ -7,7 +7,8 @@ declare(strict_types=1);
7 7
 namespace JKingWeb\Arsse\TestCase\Db\PosgreSQL;
8 8
 
9 9
 /**
10
- * @group excludeFromCoverage
10
+ * @group slow
11
+ * @group coverageOptional
11 12
  * @covers \JKingWeb\Arsse\Database<extended>
12 13
  * @covers \JKingWeb\Arsse\Misc\Query<extended>
13 14
  */

+ 1
- 0
tests/cases/Db/PostgreSQL/TestDriver.php View File

@@ -7,6 +7,7 @@ declare(strict_types=1);
7 7
 namespace JKingWeb\Arsse\TestCase\Db\PostgreSQL;
8 8
 
9 9
 /**
10
+ * @group slow
10 11
  * @covers \JKingWeb\Arsse\Db\PostgreSQL\PDODriver<extended>
11 12
  * @covers \JKingWeb\Arsse\Db\PDODriver
12 13
  * @covers \JKingWeb\Arsse\Db\PDOError */

+ 1
- 0
tests/cases/Db/PostgreSQL/TestResult.php View File

@@ -9,6 +9,7 @@ namespace JKingWeb\Arsse\TestCase\Db\PostgreSQL;
9 9
 use JKingWeb\Arsse\Test\DatabaseInformation;
10 10
 
11 11
 /**
12
+ * @group slow
12 13
  * @covers \JKingWeb\Arsse\Db\PDOResult<extended>
13 14
  */
14 15
 class TestResult extends \JKingWeb\Arsse\TestCase\Db\BaseResult {

+ 1
- 0
tests/cases/Db/PostgreSQL/TestStatement.php View File

@@ -7,6 +7,7 @@ declare(strict_types=1);
7 7
 namespace JKingWeb\Arsse\TestCase\Db\PostgreSQL;
8 8
 
9 9
 /**
10
+ * @group slow
10 11
  * @covers \JKingWeb\Arsse\Db\PostgreSQL\PDOStatement<extended>
11 12
  * @covers \JKingWeb\Arsse\Db\PDOError */
12 13
 class TestStatement extends \JKingWeb\Arsse\TestCase\Db\BaseStatement {

+ 1
- 0
tests/cases/Db/PostgreSQL/TestUpdate.php View File

@@ -7,6 +7,7 @@ declare(strict_types=1);
7 7
 namespace JKingWeb\Arsse\TestCase\Db\PostgreSQL;
8 8
 
9 9
 /**
10
+ * @group slow
10 11
  * @covers \JKingWeb\Arsse\Db\PostgreSQL\PDODriver<extended>
11 12
  * @covers \JKingWeb\Arsse\Db\PDOError */
12 13
 class TestUpdate extends \JKingWeb\Arsse\TestCase\Db\BaseUpdate {

Loading…
Cancel
Save