Jeff Williams 85cbed9c0c change loading process for plugins and Markdown highlighters; remove jsdoc/path
We now simply use `require()` to load plugins and Markdown highlighters.

Note that `@jsdoc/util.path.commonPrefix`, unlike `jsdoc/path.commonPrefix`, does not append `path.sep` to the return value.

Includes other minor cleanup.
2019-01-27 15:18:28 -08:00
..
2019-01-25 19:33:18 -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.