Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix run suite when suite name matches directory #6105

merged 6 commits into from Feb 1, 2021

Fix run suite when suite name matches directory #6105

merged 6 commits into from Feb 1, 2021


Copy link

@Naktibalda Naktibalda commented Jan 29, 2021

Original purpose of this change was to make codecept run api work when there is api/ directory in project root and api suite in tests.

I looked into related issues and made the following commands work too:
codecept run tests
codecept run ^*LoginWithWrongPassword$
codecept run tests:^*LoginWithWrongPassword$
codecept run tests/:^*LoginWithWrongPassword$

Closes #6103
Closes #5278

src/Codeception/Command/Run.php Outdated Show resolved Hide resolved
@Naktibalda Naktibalda force-pushed the 4.1-6103 branch 2 times, most recently from 5ceeaba to c903cc5 Compare Jan 31, 2021
Naktibalda added 2 commits Jan 31, 2021
PHPUnit 5.7 handles filter pattern differently
Copy link

@TavoNiievez TavoNiievez left a comment

Looks good to me.

@Naktibalda Naktibalda merged commit b171a7c into 4.1 Feb 1, 2021
26 checks passed
@Naktibalda Naktibalda deleted the 4.1-6103 branch Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

3 participants