-
Notifications
You must be signed in to change notification settings - Fork 2
Testing notes
saveriomiroddi edited this page Apr 18, 2012
·
3 revisions
It's not really possible to test the correctness of the logical structure. String checking is not effective either.
The logic of the testing is therefore a run of the cycle:
in_data => encoding => decoding => out_data
ensuring that in_data equals out_data.
Specific tests will be added incrementally along the development.
When including a module in a test suite, its constants are not available to the tests, so the "shortcut" modules are declared inside the test suites ("describe" blocks).