You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Tony,
just starting to play with composer and yiinitializr. Before I used yii-environment in my projects.. everything works really great so far with setup, but I try to encapsulate codeception (specially config).
My structure is inspired with phundament/app:
(my protected/tests directory)
to run unit tests I need bootstrap.php (yii setup with test config). Do you thing that I need to create new environment like test-unit? Is there a way to quickly change env with composer or just change it in env.lock?
Jack
The text was updated successfully, but these errors were encountered:
I think the best way is to create new environment, nevertheless, I highly recommend you to have a look at the new mocking features implemented by Michael in Codeception. Will invite him to help you out on this.
@DavertMik should we use this module in functional suite?
I mean, how can I set up Codeception right to use it with several config files (common/config + app config + env config)?
Hi Tony,
just starting to play with composer and yiinitializr. Before I used yii-environment in my projects.. everything works really great so far with setup, but I try to encapsulate codeception (specially config).
My structure is inspired with phundament/app:
(my protected/tests directory)
to run unit tests I need bootstrap.php (yii setup with test config). Do you thing that I need to create new environment like test-unit? Is there a way to quickly change env with composer or just change it in env.lock?
Jack
The text was updated successfully, but these errors were encountered: