Jeff Williams 65e6db3ba4 refactor: move ast-builder and ast-node to @jsdoc/parse
BREAKING CHANGE: Modules no longer exist in jsdoc package.
2020-12-24 16:05:58 -08:00
..

Testing JSDoc

JSDoc uses Jasmine as its testing framework. See the Jasmine documentation for details.

Running tests

Clone the GitHub repository; change to its directory; and run the following commands:

npm install
node jsdoc.js -T

Writing tests

You can write tests for all of the following:

  • JSDoc itself. See the test directory. Test specs are in test/specs, and fixtures used by the tests are in test/fixtures.
  • Plugins. See the plugins/test directory.
  • Packages. See the packages/**/test directories.