Answer the question
In order to leave comments, you need to log in
Functional testing without recreating the environment from scratch, how?
Using Yii2, I need to create functional testing, but I can't figure out how to set up Codecept so that it uses all the settings from the console application.
I'm going to conduct testing on a real base, because. The main function of the application is to generate a report based on data from the database. I'm going to get data from a SQL database with a query and then compare it to the results generated by the application.
Maybe I'm using the wrong tool?
Answer the question
In order to leave comments, you need to log in
As I understand it , it
is enough to specify the connection settings to the real database, and in codeception.yml specify
modules:
config:
Db:
populate: false
cleanup: false
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question