Skip to content

Commit

Permalink
running tests in separate processes
Browse files Browse the repository at this point in the history
  • Loading branch information
bcismariu committed Sep 29, 2020
1 parent 71e32e8 commit e4a9b01
Show file tree
Hide file tree
Showing 11 changed files with 44 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Clients/BookingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
use iMemento\Clients\Responses\CollectionResponse;
use iMemento\Clients\Responses\JsonResponse;

/**
* @runTestsInSeparateProcesses
* @preserveGlobalState disabled
*/
class BookingsTest extends TestCase
{
protected function client(array $responses = []): AbstractClient
Expand Down
4 changes: 4 additions & 0 deletions tests/Clients/CommentsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
use iMemento\Clients\Responses\CollectionResponse;
use iMemento\Clients\Responses\JsonResponse;

/**
* @runTestsInSeparateProcesses
* @preserveGlobalState disabled
*/
class CommentTest extends TestCase
{
protected function client(array $responses = []): AbstractClient
Expand Down
4 changes: 4 additions & 0 deletions tests/Clients/ContractsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
use iMemento\Clients\Responses\CollectionResponse;
use iMemento\Clients\Responses\JsonResponse;

/**
* @runTestsInSeparateProcesses
* @preserveGlobalState disabled
*/
class ContractsTest extends TestCase
{
protected function client(array $responses = []): AbstractClient
Expand Down
4 changes: 4 additions & 0 deletions tests/Clients/EventsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
use iMemento\Clients\Events;
use iMemento\Clients\Responses\JsonResponse;

/**
* @runTestsInSeparateProcesses
* @preserveGlobalState disabled
*/
class EventsTest extends TestCase
{
protected function client(array $responses = []): AbstractClient
Expand Down
4 changes: 4 additions & 0 deletions tests/Clients/LogsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
use iMemento\Clients\Responses\CollectionResponse;
use iMemento\Clients\Responses\JsonResponse;

/**
* @runTestsInSeparateProcesses
* @preserveGlobalState disabled
*/
class LogTest extends TestCase
{
protected function client(array $responses = []): AbstractClient
Expand Down
4 changes: 4 additions & 0 deletions tests/Clients/NotificationsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
use iMemento\Clients\Notifications;
use iMemento\Clients\Responses\JsonResponse;

/**
* @runTestsInSeparateProcesses
* @preserveGlobalState disabled
*/
class NotificationsTest extends TestCase
{
protected function client(array $responses = []): AbstractClient
Expand Down
4 changes: 4 additions & 0 deletions tests/Clients/PlacesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
use iMemento\Clients\Responses\CollectionResponse;
use iMemento\Clients\Responses\JsonResponse;

/**
* @runTestsInSeparateProcesses
* @preserveGlobalState disabled
*/
class PlacesTest extends TestCase
{
protected function client(array $responses = []): AbstractClient
Expand Down
4 changes: 4 additions & 0 deletions tests/Clients/ProfilesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
use iMemento\Clients\Responses\CollectionResponse;
use iMemento\Clients\Responses\JsonResponse;

/**
* @runTestsInSeparateProcesses
* @preserveGlobalState disabled
*/
class ProfilesTest extends TestCase
{
protected function client(array $responses = []): AbstractClient
Expand Down
4 changes: 4 additions & 0 deletions tests/Clients/RatingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
use iMemento\Clients\Responses\CollectionResponse;
use iMemento\Clients\Responses\JsonResponse;

/**
* @runTestsInSeparateProcesses
* @preserveGlobalState disabled
*/
class RatingTest extends TestCase
{
protected function client(array $responses = []): AbstractClient
Expand Down
4 changes: 4 additions & 0 deletions tests/Clients/RolesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
use iMemento\Clients\Responses\CollectionResponse;
use iMemento\Clients\Responses\JsonResponse;

/**
* @runTestsInSeparateProcesses
* @preserveGlobalState disabled
*/
class RolesTest extends TestCase
{
protected function client(array $responses = []): AbstractClient
Expand Down
4 changes: 4 additions & 0 deletions tests/Clients/TranslationsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
use iMemento\Clients\Responses\CollectionResponse;
use iMemento\Clients\Responses\JsonResponse;

/**
* @runTestsInSeparateProcesses
* @preserveGlobalState disabled
*/
class TranslationsTest extends TestCase
{
protected function client(array $responses = []): AbstractClient
Expand Down

0 comments on commit e4a9b01

Please sign in to comment.