From dfe8a3deeb22eae72aed1b02c4c692ffd2df4d71 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Sun, 4 Dec 2022 20:06:07 +0000 Subject: [PATCH] revert: inline testing --- .gitattributes | 3 --- composer.json | 7 ------ phpunit.inline.xml | 34 ----------------------------- src/NotExported/MyTestCase.php | 18 --------------- src/NotExported/MyTestableClass.php | 22 ------------------- tests/Pest.php | 3 --- 6 files changed, 87 deletions(-) delete mode 100644 phpunit.inline.xml delete mode 100644 src/NotExported/MyTestCase.php delete mode 100644 src/NotExported/MyTestableClass.php diff --git a/.gitattributes b/.gitattributes index 9f929526..c6e004ff 100644 --- a/.gitattributes +++ b/.gitattributes @@ -13,6 +13,3 @@ CHANGELOG.md export-ignore CONTRIBUTING.md export-ignore README.md export-ignore -# Inline -/src/NotExported export-ignore -/phpunit.inline.xml export-ignore diff --git a/composer.json b/composer.json index 35dfe005..0e962b5c 100644 --- a/composer.json +++ b/composer.json @@ -51,15 +51,8 @@ }, "require-dev": { "pestphp/pest-dev-tools": "^2.0.0", - "pestphp/pest-plugin-inline": "2.x-dev", "symfony/process": "^6.2.0" }, - "repositories": { - "inline": { - "type": "path", - "url": "../pest-plugin-inline" - } - }, "minimum-stability": "dev", "prefer-stable": true, "config": { diff --git a/phpunit.inline.xml b/phpunit.inline.xml deleted file mode 100644 index 0e18d164..00000000 --- a/phpunit.inline.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - ./src - - - - - ./src - - - diff --git a/src/NotExported/MyTestCase.php b/src/NotExported/MyTestCase.php deleted file mode 100644 index 1e403fba..00000000 --- a/src/NotExported/MyTestCase.php +++ /dev/null @@ -1,18 +0,0 @@ -assertIsTestable(get_class($testable)); // @phpstan-ignore-line -}); diff --git a/tests/Pest.php b/tests/Pest.php index 83c8512b..d0f656bd 100644 --- a/tests/Pest.php +++ b/tests/Pest.php @@ -1,12 +1,9 @@ in('PHPUnit/CustomTestCaseInSubFolders/SubFolder/SubFolder'); -uses(MyTestCase::class)->in('../src/NotExported'); - uses()->group('integration')->in('Visual'); // NOTE: global test value container to be mutated and checked across files, as needed