Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 952 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 952 Bytes

Domoticz (automated) testing

This folder is used for everything around (automated) testing of Domoticz.

Functional testing

Some functional testing is done by using BDD/Gherkin style tests. See the README.md in the gherkin folder for more information.

Unit testing

For dzVents quite some unit-tests are available (code-coverage above 80%) testing many aspects of 'dzVents' ensuring that functionality does not change or break when changes are made.

A start is made with the 'www' part of Domoticz. The 'www-test' folder contains tests for components in the www-folder. As the components in this folder are written in JavaScript, so are the tests. See the README.md in the www-test folder for details.

Test automation

For both Unit testing as Functional testing, there is some test automation using mocha (javascript), busted (Lua) and pytest-3 (Python and using BDD plugin).