This is a test plugin, the only reason for this plugin is to have some automated testcases for domogik, the folowing actions will be tested:
- [OK] install the plugin: dmg_package -i
- Run testcases
- [OK] Config
- [OK] start
- [OK] device * request the params * create a device
- Sensor * request current data * wait for sensor value * request current data
- Command * create a command * wait for sensor update
- [OK] Admin * call some admin urls and expect redirects to login page * call some rest urls * login to admin * call some /admin urls
- [OK] stop
- [OK] uninstall the plugin: dmg_package -r plugin_test
This will create a basic sanity check for domogik, these test will run on travis and maybe later on be used as an initial config tester before the suers start to use domogik.
The testcases are all stored here in the plugin, so we can use the testrunner to simple run the testcases from within domogik.