alankligman/gladius — Issue #97: Unit tests should require only the code they are testing
Author: alankligman
Created: 2012-01-31 20:45:53+00:00
State: open
Labels: Defect, Testing

Currently we create an engine instance for each unit test in the qunit setup code. This causes problems when the engine fails to finish constructing itself and no unit tests will run, and no error messages are emitted. Also, these really aren't unit tests.

Fix the unit test suite to work with require, and only require the code we want to test.