A.4 Test Directory
The test/ directory contains all the unit tests for the project. ease.js follows a test-driven development model; every single aspect of the framework is tested to ensure that features work as intended both server-side and across all supported web browsers. The tests also serve as regression tests, ensuring that bugs are not introduced for anything that has been covered. These tests should also give outside developers confidence; if a developer makes a modification to ease.js and does not cause any failing tests, it’s likely that their change didn’t have negative consequences on the integrity of the framework.
Developers interested in contributing to ease.js can aid in this transition process by helping to move all test-* tests over to the new test case format.
In addition, there exists a test/perf/ directory that contains performance tests used for benchmarking.