12 Commits

Author SHA1 Message Date
Jeff Williams
42e6822009 update JSON schema; validate doclets against schema (#327) 2013-12-03 16:45:36 -08:00
Jeff Williams
751bea1b0a fixes for Node.js compatibility (see details)
- new Rhino .jar to help find module paths
(https://github.com/hegemonic/rhino/commit/31b70105)
- make __dirname and process.cwd() provide the current module path; use
only env.dirname for JSDoc's home dir; fix callers
- get rid of jsdoc/util/include (and update test framework accordingly)
- avoid running Rhino/Node.js tests on the wrong runtime
- remove support for global 'publish' function, which relied upon
jsdoc/util/include
- update jsdoc/util/dumper for consistency with Node.js'
JSON.stringify()
- fix jsdoc/util/runtime to detect Node.js correctly
- add Node.js versions of jsdoc/fs and jsdoc/path
- other minor cleanup
2013-10-25 23:30:56 -07:00
Jeff Williams
d73570defc make fs module consistent with Node.js (#211) 2012-12-26 19:03:05 -08:00
Jeff Williams
a17c90dfd2 deprecate env.dirname in favor of __dirname (#286)
plus some minor cleanup to address JSHint warnings
2012-12-23 09:45:11 -08:00
Jeff Williams
17d9a0f4a7 don't refuse to run tests when installed via npm 2012-10-17 09:17:35 -07:00
Jeff Williams
487ce7a8b9 move common files from nodejs_modules to rhino_modules; remove unused files; de-lint 2012-10-17 08:20:53 -07:00
Jeff Williams
da0a55e577 update 'wrench' module; move to node_modules 2012-10-15 06:01:39 -07:00
Jeff Williams
e17601feb1 remove Envjs from test harness; remove broken --coffee option; add --nocolor option 2012-10-07 07:39:47 -07:00
Jeff Williams
d091675cfa make 'fs' and 'path' modules more consistent with Node.js 2012-08-19 15:25:02 -07:00
Jakob Heuser
d61259a90c attempt to make npm compatible paths by removing node_modules as a path... darn you npm 2012-08-15 11:09:58 -07:00
Jeff Williams
22e899fa9d change __dirname to env.dirname
this fixes a JSHint error that cannot be suppressed.
2012-07-03 17:37:17 -07:00
Jannon
2d73440b3d Testing Framework Upgrade Part I
This first part of the testing framework upgrade:

- enhances the jsdoc script to allow switching to debug mode from the command line
- uses Jasmine to run tests
- adds flexibility to run tests from multiple root directories
- does automatic test discovery, so test files can just be created, dropped in an appropriate folder, and run without having to explicity add it to the test runner
- cleans up the test directory layout
- incorporates env.rhino.js which should make it easier to test templates
- is incomplete: this is just a savepoint.  About 1/3 of the tests have been converted.  The rest are still run through the old testrunner
2012-04-30 17:39:50 -07:00