Skip to content
saveriomiroddi edited this page Apr 18, 2012 · 3 revisions

Testing philosophy

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.

Techical notes

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).

Clone this wiki locally