Yii2
Yii2
This module provides integration with Yii framework (2.0). It initializes Yii framework in test environment and provides actions for functional testing.
Config
-
configFile
required - the path to the application config file. File should be configured for test environment and return configuration array. -
entryUrl
- initial application url (default: http://localhost/index-test.php). -
entryScript
- front script title (like: index-test.php). If not set - taken from entryUrl. -
cleanup
- (default: true) wrap all database connection inside a transaction and roll it back after the test. Should be disabled for acceptance testing..
You can use this mod