pest-plugin-arch icon indicating copy to clipboard operation
pest-plugin-arch copied to clipboard

Pest Arch Plugin

Results 13 pest-plugin-arch issues
Sort by recently updated
recently updated
newest added

New "unless" modifier for Arch Testing This PR is still a work in progress. Further testing and refinements may be needed. Currently allows defining an array of custom expectations (2...

Basically what happend here https://github.com/pestphp/pest/issues/966 was that the plugin created directories with the path `Core/lication/Contracts` instead of `Core/Application/Contracts` with the given code ```php test('app') ->expect('App\Core\Application\Contracts') ->toBeClasses(); ``` And passed because...

Fixes https://github.com/pestphp/pest/issues/973

As discussed in https://github.com/pestphp/pest/discussions/1072 and https://github.com/pestphp/pest/discussions/728 this PR allows the usage of wildcards in namespace selection. This is useful if a module/domain architecture needs to be tested. Tried to include...

In this PR I have added tests for https://github.com/pestphp/pest/pull/1100

Starting from v2.2.3 Arch tests not matching any object are considered as successful instead of risky. Given the following test: ```php test('global') ->expect('Invalid\Namespace') ->toUseStrictTypes(); ``` v2.2.3 returns the following output:...

Modified the `composer.json` file to: 1. impersonate as another module to circumvent the cyclic dependency issue; 2. replace any `pestphp/pest-plugin-arch` packages by the current package.

See #12 Fixed the stan errors that resulted in the revert (https://github.com/pestphp/pest-plugin-arch/actions/runs/11094754954/job/30822574150) edit: - added pipeline runs for commit prior to the revert

Workflow `tests.yml` was not properly using the matrix variable `--parallel`. I fixed that, and one small problem with PHPStan.