Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
systems:yii2:testing_setup [2018/04/23 08:35]
smayr [Test Examples]
systems:yii2:testing_setup [2018/04/26 09:38] (current)
smayr [Configure Tests]
Line 192: Line 192:
       - Filesystem       - Filesystem
       - Yii2       - Yii2
 +           #part: [init, orm, email, fixtures]
 +           configFile: 'config/test.php'
 +           entryScript: index-test.php
 +      - Db:
 +          dsn: "mysql:host=localhost;dbname=mydatabase"
 +          user: "dbuser"
 +          password: "dbsecret"
 +      #- REST
 +      #    depends: PhpBrowser
 +      #    url: http://localhost:8080/yii/basic-userdb/web/
 </code> </code>
  
Line 205: Line 215:
     enabled:     enabled:
       - Asserts       - Asserts
-      - Db: 
-          dsn: "mysql:host=localhost;dbname=acme_test" 
-          user: "root" 
-          password: "" 
       - Yii2:       - Yii2:
             part: [orm, email]             part: [orm, email]
 +            configFile: 'config/test.php'
 +            entryScript: index-test.php
 +      #- Db:
 +      #    dsn: "mysql:host=localhost;dbname=mydatabase"
 +      #    user: "dbuser"
 +      #    password: "dbsecret"
 </code> </code>