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

codeception is not operable when testing project uses .env-files #431

Open
fizzka opened this issue Sep 14, 2024 · 0 comments
Open

codeception is not operable when testing project uses .env-files #431

fizzka opened this issue Sep 14, 2024 · 0 comments

Comments

@fizzka
Copy link

fizzka commented Sep 14, 2024

codeception.yml

[...]
params:
  - .env
  - .env.test
[...]

output:

$ docker run -it --rm -v $(pwd):/srv -w /srv jakzal/phpqa:php8.2-alpine codeception --no-redirect build

In ParamsLoader.php line 51:

  Failed loading params from .env
  `vlucas/phpdotenv` library is required to parse .env files.
  Please install it via composer: composer require vlucas/phpdotenv
@fizzka fizzka changed the title codeception is not operable when testee project uses .env-files codeception is not operable when testing project uses .env-files Sep 15, 2024
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

1 participant