Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 529 Bytes

testing.md

File metadata and controls

24 lines (14 loc) · 529 Bytes

Testing

Install needed libraries using composer:

composer install --dev

Configure codeception:

Copy files codeception.dist.yml to codeception.yml. This file has been configured to use environment variables. You can set them in your system or create a file named .env in the root directory of the project.

cp codeception.dist.yml codeception.yml

Connect to database

Create a database named yii2_files_catalog and import file coopify_tests.sql. You can found it in test data directory