Skip to content

Commit 3aa75f9

Browse files
committed
PHPLIB-684 Add test group annotations for serverless spec tests
1 parent 8f7dad4 commit 3aa75f9

File tree

5 files changed

+7
-0
lines changed

5 files changed

+7
-0
lines changed

tests/Collection/CrudSpecFunctionalTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
*
3333
* @see https://github.com/mongodb/specifications/tree/master/source/crud/tests
3434
*
35+
* @group serverless
3536
* @group matrix-testing-exclude-server-5.0-driver-4.0
3637
*/
3738
class CrudSpecFunctionalTest extends FunctionalTestCase

tests/SpecTests/RetryableReadsSpecTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* Retryable reads spec tests.
1515
*
1616
* @see https://github.com/mongodb/specifications/tree/master/source/retryable-reads
17+
* @group serverless
1718
*/
1819
class RetryableReadsSpecTest extends FunctionalTestCase
1920
{

tests/SpecTests/RetryableWritesSpecTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* Retryable writes spec tests.
1313
*
1414
* @see https://github.com/mongodb/specifications/tree/master/source/retryable-writes
15+
* @group serverless
1516
*/
1617
class RetryableWritesSpecTest extends FunctionalTestCase
1718
{

tests/SpecTests/TransactionsSpecTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ public static function assertCommandMatches(stdClass $expected, stdClass $actual
112112

113113
/**
114114
* @dataProvider provideTransactionsTests
115+
* @group serverless
115116
*/
116117
public function testTransactions(stdClass $test, ?array $runOn = null, array $data, ?string $databaseName = null, ?string $collectionName = null): void
117118
{

tests/UnifiedSpecTests/UnifiedSpecTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ public function provideCommandMonitoringTests()
112112

113113
/**
114114
* @dataProvider provideCrudTests
115+
* @group serverless
115116
*/
116117
public function testCrud(UnifiedTestCase $test): void
117118
{
@@ -138,6 +139,7 @@ public function provideGridFSTests()
138139

139140
/**
140141
* @dataProvider provideTransactionsTests
142+
* @group serverless
141143
*/
142144
public function testTransactions(UnifiedTestCase $test): void
143145
{
@@ -152,6 +154,7 @@ public function provideTransactionsTests()
152154
/**
153155
* @dataProvider provideVersionedApiTests
154156
* @group versioned-api
157+
* @group serverless
155158
*/
156159
public function testVersionedApi(UnifiedTestCase $test): void
157160
{

0 commit comments

Comments
 (0)