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

Bug(?): _bootstrap.php not called when suite+test file specified in commandline #932

Closed
assembledadam opened this issue Mar 22, 2014 · 4 comments

Comments

@assembledadam
Copy link

I placed a die() within my _bootstrap.php.

When issuing:

./codecept.phar run
or
./codecept.phar run Api

The script dies as expected. However when issuing:

./codecept.phar run Api CompaniesTest.php

The script does not die (and given my autoloader is in bootstrap, I get a fatal error saying my class is not found).

Codeception version 1.6.2

@assembledadam assembledadam changed the title _bootstrap.php not called when suite+test file specified in commandline Bug(?): _bootstrap.php not called when suite+test file specified in commandline Mar 22, 2014
@DavertMik
Copy link
Member

why did not you upgrade then? probably its a bug and probably we have fixed it )

@assembledadam
Copy link
Author

I upgraded to the latest version (1.8.4) via composer and I'm still getting the issue.

@DavertMik
Copy link
Member

  1. where bootstrap is located?
  2. do you use composer or phar version?
  3. your OS?

@DavertMik
Copy link
Member

Outdated. Reopen if it is still relevant

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

No branches or pull requests

2 participants