-
Notifications
You must be signed in to change notification settings - Fork 87
tests
Irene Ros edited this page Feb 18, 2014
·
3 revisions
The test suite for d3.chart is written using the following libraries:
Tests are located in the test/tests/*.js
directory.
Run grunt
or grunt test
or
Open the test/index.html
file in your browser to run the tests.
When submitting a pull request for a new feature/bug report, please add a corresponding test to allow us to verify the issue and your fix. A few rules about the tests:
- Do write tests to accompany your pull request.
- Do not test internal API.
- Do not inspect internal properties for checking state.
- Do use spies/stubs and mocks where appropriate.
- Do position your tests in the appropriate place in the
test/tests/*.js
files.