Skip to content

Arch Testing - expect('App\Namespace')->unless('App\Namespace\ClassName') #1036

Closed Answered by owenvoke
nhaynes asked this question in Q&A
Discussion options

You must be logged in to vote

Is the ignoring() method what you're looking for?

arch('app')
    ->expect('Tests\Unit')
    ->toHaveSuffix('Test')
    ->ignoring('Tests\Unit\UnitTestCase');

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by nunomaduro
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants