Skip to content

Instantly share code, notes, and snippets.

@JohnDeeBDD
Created November 3, 2017 21:44
Show Gist options
  • Save JohnDeeBDD/deec353d2c17c9ded83df026d98be313 to your computer and use it in GitHub Desktop.
Save JohnDeeBDD/deec353d2c17c9ded83df026d98be313 to your computer and use it in GitHub Desktop.
Codeception sample unit test YML
actor: UnitTester
modules:
enabled:
- WPLoader
- WPQueries
- Asserts
config:
WPLoader:
wpRootFolder: /var/www/html
dbName: wordpress_unit_test
dbHost: localhost
dbUser: wordpressuser
dbPassword: password
tablePrefix: wp_
domain: locahost
adminEmail: admin@localhost
title: WP Tests
plugins: []
activatePlugins: []
bootstrapActions: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment