Dojo provides a robust testing framework using @dojo/cli-test-intern
. It allows you to efficiently test the output of your widgets and validate your expecations.
Feature | Description |
---|---|
Minimal API | Simple API for testing and asserting Dojo widget's expected virtual DOM and behavior. |
Unit Tests | Unit tests are tests run via node and browser to test isolated blocks of code. |
Functional Tests | Functional tests are run using Selenium in the browser and test the overall functionality of the software as a user would interact with it. |
Assertion Templates | Assertion Templates allow you to build expected render functions to validate the output of your widgets. |