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

Group Files not working with @example #3278

Closed
eXorus opened this issue Jun 27, 2016 · 1 comment
Closed

Group Files not working with @example #3278

eXorus opened this issue Jun 27, 2016 · 1 comment
Labels

Comments

@eXorus
Copy link
Member

@eXorus eXorus commented Jun 27, 2016

Hello,

Fresh install of Codeception 2.2.1

In Acceptance Cest file (tests/acceptance/welcomeCest.php) :

    /**
    * @example (url="https://www.google.fr")
    * @example (url="https://www.bing.com")
    * @example (url="https://duckduckgo.com")
    */
    public function tryToTest(AcceptanceTester $I, $scenario, \Codeception\Example $example)
    {
        $I->amOnUrl($example['url']);
    }

In acceptance suite yml:

groups:
    group1: tests/_data/group1

In tests/_data/group1:
tests/acceptance/welcomeCest.php

This command will execute no test:
./vendor/bin/codecept run -g group1

Maybe related to #2990

@DavertMik DavertMik added the Reproduce label Jun 27, 2016
@eXorus
Copy link
Member Author

@eXorus eXorus commented Jul 1, 2016

I try to fix it but I don't find the issue I'm lost between TestSuite, SuiteManager, Test, Cest, Loader, Runner, TestResult .... :(

Any help or orientation that I can follow ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.