The Dragonfly library contains tests to verify its functioning and assure its quality. These tests come in two distinct types:
See the links below for tests of both types.
Tests in doctests format:
Tests based on the unittest framework reside in the dragonfly.test package.
Follow the following steps to run the test suite for the DNS backend Aland
- Start DNS. (And ensure that NatLink is also automatically started.)
- Extract the Dragonfly source code in a directory <dir>.
- Run the tests with the following commands:
- cd <dir>
- C:\Python26\python.exe <dir>\setup.py test
Follow the following steps to run the test suite for the DNS backend Aland
- Start WSR.
- Wake WSR up, so that it is not in sleeping state, and then turn the microphone off. (It is important to wake the microphone up first, because otherwise it’ll be off and sleeping at the same time. This causes all recognitions to fail. Weird, huh?)
- Extract the Dragonfly source code in a directory <dir>.
- Run the tests with the following commands:
- cd <dir>
- C:\Python26\python.exe <dir>\setup.py test --test-suite=dragonfly.test.suites.sapi5_suite