jsdoc/test/README.md
Jeff Williams 617b3236bf Replace old, vendored Jasmine with current npm package.
JSDoc-specific test functions are now properties of a `jsdoc` global, not a `jasmine` global.

Also updates license files to reflect the fact that we no longer vendor anything.
2019-05-12 15:10:38 -07:00

640 B

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.