-
Notifications
You must be signed in to change notification settings - Fork 2
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
Different results if I run one test and all test in same time #17
Comments
Check |
thanks for the hint, but this is a typo. |
Have you made another typo in this line? $this->entity = $I->have(Entity::class, ['name' => 'test']); If you actually used |
I don't think so. $I->have() return
So |
Did you have a solution? I have the same problem right now |
Same problem for me: Codeception/Codeception#6682 |
What are you trying to achieve?
Right now, I have some strange behaviour while running functional tests. If I run one file
codecept run functional /FunctionalFolder/Services/ServiceOneCest
, all tests are success - as expected. But in secound case, when I run all created testscodecept run functional /FunctionalFolder
, some tests are finished as expected, while some others are failed.Somehow, in _before() section, are not executed all dependeces.
I expect same results if I run one test file or more. I need to say, don't have any dependece between test data created in
_before()
Please, if you see any reason or my bad code/configuration anything, give me handsup. If you have some other questions, please feel free to contact me.
Details
composer show
)The text was updated successfully, but these errors were encountered: