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 running a single test with included setup #4366

Merged
merged 1 commit into from Jul 7, 2017

Conversation

Projects
None yet
2 participants
@zebraf1
Contributor

zebraf1 commented Jun 27, 2017

Fixed issue when trying to run a single test when there are included tests.

Example:

#codeception.yml
include:
  - jazz
  - jazz/pianist
  - shire

Calling "run jazz/pianist/tests/functional/PianistCest.php" fails with error "[RuntimeException] Suite 'jazz/pianist/tests/functional/PianistCest' could not be found".

Workaround:
It is still possible to run it by going into the sub-category jazz/pianist and running "run functional PianistCest", but this is not possible when running a single test from within PHPStorm IDE

@zebraf1

This comment has been minimized.

Show comment
Hide comment
@zebraf1

zebraf1 Jun 28, 2017

Contributor

Weird that appveyor has some fails, any ideas why this occurs?

Contributor

zebraf1 commented Jun 28, 2017

Weird that appveyor has some fails, any ideas why this occurs?

@DavertMik

This comment has been minimized.

Show comment
Hide comment
@DavertMik

DavertMik Jul 7, 2017

Member

Thanks. This is really impressive work. I know it is a very complicated feature, so thank you so much for working on it!

Member

DavertMik commented Jul 7, 2017

Thanks. This is really impressive work. I know it is a very complicated feature, so thank you so much for working on it!

@DavertMik DavertMik merged commit 710876f into Codeception:2.3 Jul 7, 2017

3 of 4 checks passed

continuous-integration/appveyor/pr AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
semaphoreci The build passed on Semaphore.
Details
wercker/build Wercker pipeline passed
Details

@zebraf1 zebraf1 deleted the zebraf1:included-single-test branch Jul 10, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment