Skip to content

Instantly share code, notes, and snippets.

@okuryu
Created August 10, 2015 11:58
Show Gist options
  • Save okuryu/05aee6bfa5ff1b07b424 to your computer and use it in GitHub Desktop.
Save okuryu/05aee6bfa5ff1b07b424 to your computer and use it in GitHub Desktop.
> [email protected] pretest /Users/okuryu/work/yuidoc
> eslint lib/*.js tests/*.js
> [email protected] test /Users/okuryu/work/yuidoc
> istanbul cover --print=both --yui ytestrunner -- --include ./tests/options.js --include ./tests/builder.js --include ./tests/parser.js --include ./tests/parser_coffee.js --include ./tests/files.js --include ./tests/utils.js --include ./tests/preprocessor.js
warn: Failed to extract port, setting to the default :3000
(node) util.puts is deprecated. Use console.log instead.
✔ test: server
✔ test: server with port
warn: Failed to extract port, setting to the default :3000
✔ test: server with default port and following argument
✔ test: tab-to-space
✔ test: long quiet option
✔ test: short quiet option
✔ test: short config
✔ test: --config
✔ test: --configfile
✔ test: -e
✔ test: --extension
✔ test: -x
✔ test: --exclude
✔ test: --project-version
✔ test: --no-color
✔ test: -N
✔ test: --no-code
✔ test: -C
✔ test: --norecurse
✔ test: -n
✔ test: --no-sort
✔ test: --selleck
✔ test: -S
✔ test: -T simple
✔ test: --theme simple
✔ test: --theme foobar
✔ test: -t ./foobar
✔ test: --themedir ./foobar
✔ test: --syntaxtype coffee
✔ test: --view
✔ test: -V
✔ test: -p
✔ test: --parse-only
✔ test: -o <path>
✔ test: --outdir <path>
✔ test: -D
✔ test: --no-delete-out
✔ test: --lint
✔ test --debug
✔ test: --charset
✔ test: --charset foo
✔ test: --tab-to-space 8
✖ test: prep
✖ test: Directories
✖ test: Assets Directories
✖ test: index.html
✔ test: data.json
✖ test: api.js
✖ test: classes/JSON.html
✖ test: files name filter
✖ test: module files
✖ test: class files
✖ test: inherited methods
✖ test: helper methods
✖ test: markdown options
✔ test: out directory
✔ test: data.json creation
✖ test: parser
✖ test: project data
✖ test: files parsing
✖ test: namespace parsing
✖ test: module parsing
✖ test: main module association
✖ test: submodule parsing
✖ test: extra module data parsing
✖ test: class parsing
✖ test: classitems parsing
✖ test: parameter parsing
✖ test: indented description
✖ test: object parameters
✖ test: tag fixing
✖ test: double namespaces
✖ test: inherited methods
✖ test: case tags
✖ test: required attribute
✖ test: optional attribute
✖ test: module with example meta
✖ test: class with example meta
✖ test: event with optional items
✖ test: markdown example
✔ test: CoffeeScript Project Data 1
✔ test: CoffeeScript Project Data 2
✔ test: exists
✔ test: copyDirectory
✔ test: copyFile
✔ test: copyPath for file
✔ test: copyPath for directory
✔ test: deletePath for file
✔ test: deletePath for symbolic link
✔ test: deletePath for directory
✔ test: isDirectory for directory
✔ test: isDirectory for symbolic link
✔ test: isFile for file
✔ test: isFile for symbolic link
✔ test: isSymbolicLink
✔ test: lstatSync
✔ test: statSync
✔ test: copyAssets
✔ test: getJSON
✔ test: writeFile
✔ test: readFile
✔ test: Nearest Folder Priority
✔ test: Finds package.json
✔ test: Finds package.json in same folder as yuidoc.json
✔ test: Ignores package.json in deeper folder than yuidoc.json
✔ test: Must be breadth-first
✔ test: path globs
✔ test: ignore paths
✔ test: Adds paths onto end in sequence
✔ test: normalises windows paths into web happy urls
✔ test: joins relative paths
✔ test: single preprocessor
✔ test: single preprocessor with absolute path
✔ test: several preprocessors
✔ test: the test preprocessor does its job
✔ test: load preprocessor as a npm module
================================================================================
Final summary: Passed: 81, Failed: 35, Skipped: 0, Total: 116, Load errors: 0, Line coverage: Unknown, Function coverage: Unknown
================================================================================
(node) util.error is deprecated. Use console.error instead.
35 test(s) failed. Details:
1. Builder setup::test: prep
Cause: Assert Error
Timeout: wait() called but resume() never called.
2. Builder setup::test: Directories
Cause: ComparisonFailure
Failed to find: /Users/okuryu/work/yuidoc/tests/out/assets
expected: true, actual: false
3. Builder setup::test: Assets Directories
Cause: ComparisonFailure
Failed to find: /Users/okuryu/work/yuidoc/tests/out/assets/css
expected: true, actual: false
4. Builder setup::test: index.html
Cause: ComparisonFailure
Failed to find: /Users/okuryu/work/yuidoc/tests/out/index.html
expected: true, actual: false
5. Builder setup::test: api.js
Cause: ComparisonFailure
Failed to find: /Users/okuryu/work/yuidoc/tests/out/api.js
expected: true, actual: false
6. Builder setup::test: classes/JSON.html
Cause: ComparisonFailure
Failed to find: /Users/okuryu/work/yuidoc/tests/out/classes/JSON.html
expected: true, actual: false
7. Builder setup::test: files name filter
Cause: UnexpectedError
Unexpected error: ENOENT: no such file or directory, scandir '/Users/okuryu/work/yuidoc/tests/out/files'
Error: ENOENT: no such file or directory, scandir '/Users/okuryu/work/yuidoc/tests/out/files'
at Error (native)
at Object.fs.readdirSync (fs.js:813:18)
at suite.add.YUITest.TestCase.test: files name filter (/Users/okuryu/work/yuidoc/tests/builder.js:112:12)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
8. Builder setup::test: module files
Cause: UnexpectedError
Unexpected error: Cannot read property 'modules' of undefined
TypeError: Cannot read property 'modules' of undefined
at suite.add.YUITest.TestCase.test: module files (/Users/okuryu/work/yuidoc/tests/builder.js:117:29)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
9. Builder setup::test: class files
Cause: UnexpectedError
Unexpected error: Cannot read property 'classes' of undefined
TypeError: Cannot read property 'classes' of undefined
at suite.add.YUITest.TestCase.test: class files (/Users/okuryu/work/yuidoc/tests/builder.js:125:29)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
10. Builder Augmentation Tests::test: inherited methods
Cause: UnexpectedError
Unexpected error: Cannot read property 'classes' of undefined
TypeError: Cannot read property 'classes' of undefined
at suite.add.YUITest.TestCase.test: inherited methods (/Users/okuryu/work/yuidoc/tests/builder.js:137:30)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3090:52)
at Timer.listOnTimeout (timers.js:89:15)
11. Builder Augmentation Tests::test: helper methods
Cause: UnexpectedError
Unexpected error: Cannot read property 'classes' of undefined
TypeError: Cannot read property 'classes' of undefined
at suite.add.YUITest.TestCase.test: helper methods (/Users/okuryu/work/yuidoc/tests/builder.js:152:30)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
12. Builder Augmentation Tests::test: markdown options
Cause: UnexpectedError
Unexpected error: Cannot read property 'classes' of undefined
TypeError: Cannot read property 'classes' of undefined
at suite.add.YUITest.TestCase.test: markdown options (/Users/okuryu/work/yuidoc/tests/builder.js:168:30)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
13. Project Data::test: parser
Cause: UnexpectedError
Unexpected error: Cannot convert undefined or null to object
TypeError: Cannot convert undefined or null to object
at Function.keys (native)
at suite.add.YUITest.TestCase.test: parser (/Users/okuryu/work/yuidoc/tests/parser.js:54:27)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
14. Project Data::test: project data
Cause: UnexpectedError
Unexpected error: Cannot read property 'file' of undefined
TypeError: Cannot read property 'file' of undefined
at suite.add.YUITest.TestCase.test: project data (/Users/okuryu/work/yuidoc/tests/parser.js:59:74)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
15. Project Data::test: files parsing
Cause: UnexpectedError
Unexpected error: Cannot read property 'files' of undefined
TypeError: Cannot read property 'files' of undefined
at suite.add.YUITest.TestCase.test: files parsing (/Users/okuryu/work/yuidoc/tests/parser.js:72:30)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
16. Project Data::test: namespace parsing
Cause: UnexpectedError
Unexpected error: Cannot read property 'files' of undefined
TypeError: Cannot read property 'files' of undefined
at suite.add.YUITest.TestCase.test: namespace parsing (/Users/okuryu/work/yuidoc/tests/parser.js:101:29)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
17. Project Data::test: module parsing
Cause: UnexpectedError
Unexpected error: Cannot read property 'modules' of undefined
TypeError: Cannot read property 'modules' of undefined
at suite.add.YUITest.TestCase.test: module parsing (/Users/okuryu/work/yuidoc/tests/parser.js:109:29)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
18. Project Data::test: main module association
Cause: UnexpectedError
Unexpected error: Cannot read property 'modules' of undefined
TypeError: Cannot read property 'modules' of undefined
at suite.add.YUITest.TestCase.test: main module association (/Users/okuryu/work/yuidoc/tests/parser.js:120:28)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
19. Project Data::test: submodule parsing
Cause: UnexpectedError
Unexpected error: Cannot read property 'modules' of undefined
TypeError: Cannot read property 'modules' of undefined
at suite.add.YUITest.TestCase.test: submodule parsing (/Users/okuryu/work/yuidoc/tests/parser.js:129:29)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
20. Project Data::test: extra module data parsing
Cause: UnexpectedError
Unexpected error: Cannot read property 'modules' of undefined
TypeError: Cannot read property 'modules' of undefined
at suite.add.YUITest.TestCase.test: extra module data parsing (/Users/okuryu/work/yuidoc/tests/parser.js:154:29)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
21. Project Data::test: class parsing
Cause: UnexpectedError
Unexpected error: Cannot read property 'classes' of undefined
TypeError: Cannot read property 'classes' of undefined
at suite.add.YUITest.TestCase.test: class parsing (/Users/okuryu/work/yuidoc/tests/parser.js:185:27)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
22. Project Data::test: classitems parsing
Cause: UnexpectedError
Unexpected error: Cannot read property 'classitems' of undefined
TypeError: Cannot read property 'classitems' of undefined
at suite.add.YUITest.TestCase.test: classitems parsing (/Users/okuryu/work/yuidoc/tests/parser.js:226:33)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
23. Project Data::test: parameter parsing
Cause: UnexpectedError
Unexpected error: Cannot read property 'classitems' of undefined
TypeError: Cannot read property 'classitems' of undefined
at suite.add.YUITest.TestCase.findByName (/Users/okuryu/work/yuidoc/tests/parser.js:36:30)
at suite.add.YUITest.TestCase.test: parameter parsing (/Users/okuryu/work/yuidoc/tests/parser.js:268:21)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
24. Project Data::test: indented description
Cause: UnexpectedError
Unexpected error: Cannot read property 'classitems' of undefined
TypeError: Cannot read property 'classitems' of undefined
at suite.add.YUITest.TestCase.findByName (/Users/okuryu/work/yuidoc/tests/parser.js:36:30)
at suite.add.YUITest.TestCase.test: indented description (/Users/okuryu/work/yuidoc/tests/parser.js:341:25)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
25. Project Data::test: object parameters
Cause: UnexpectedError
Unexpected error: Cannot read property 'classitems' of undefined
TypeError: Cannot read property 'classitems' of undefined
at suite.add.YUITest.TestCase.findByName (/Users/okuryu/work/yuidoc/tests/parser.js:36:30)
at suite.add.YUITest.TestCase.test: object parameters (/Users/okuryu/work/yuidoc/tests/parser.js:359:21)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
26. Project Data::test: tag fixing
Cause: UnexpectedError
Unexpected error: Cannot read property 'classitems' of undefined
TypeError: Cannot read property 'classitems' of undefined
at suite.add.YUITest.TestCase.findByName (/Users/okuryu/work/yuidoc/tests/parser.js:36:30)
at suite.add.YUITest.TestCase.test: tag fixing (/Users/okuryu/work/yuidoc/tests/parser.js:378:25)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
27. Project Data::test: double namespaces
Cause: UnexpectedError
Unexpected error: Cannot read property 'classes' of undefined
TypeError: Cannot read property 'classes' of undefined
at suite.add.YUITest.TestCase.test: double namespaces (/Users/okuryu/work/yuidoc/tests/parser.js:392:28)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
28. Project Data::test: inherited methods
Cause: UnexpectedError
Unexpected error: Cannot read property 'classitems' of undefined
TypeError: Cannot read property 'classitems' of undefined
at suite.add.YUITest.TestCase.findByName (/Users/okuryu/work/yuidoc/tests/parser.js:36:30)
at suite.add.YUITest.TestCase.test: inherited methods (/Users/okuryu/work/yuidoc/tests/parser.js:399:25)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
29. Project Data::test: case tags
Cause: UnexpectedError
Unexpected error: Cannot read property 'classitems' of undefined
TypeError: Cannot read property 'classitems' of undefined
at suite.add.YUITest.TestCase.findByName (/Users/okuryu/work/yuidoc/tests/parser.js:36:30)
at suite.add.YUITest.TestCase.test: case tags (/Users/okuryu/work/yuidoc/tests/parser.js:403:25)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
30. Project Data::test: required attribute
Cause: UnexpectedError
Unexpected error: Cannot read property 'classitems' of undefined
TypeError: Cannot read property 'classitems' of undefined
at suite.add.YUITest.TestCase.findByName (/Users/okuryu/work/yuidoc/tests/parser.js:36:30)
at suite.add.YUITest.TestCase.test: required attribute (/Users/okuryu/work/yuidoc/tests/parser.js:410:25)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
31. Project Data::test: optional attribute
Cause: UnexpectedError
Unexpected error: Cannot read property 'classitems' of undefined
TypeError: Cannot read property 'classitems' of undefined
at suite.add.YUITest.TestCase.findByName (/Users/okuryu/work/yuidoc/tests/parser.js:36:30)
at suite.add.YUITest.TestCase.test: optional attribute (/Users/okuryu/work/yuidoc/tests/parser.js:416:25)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
32. Project Data::test: module with example meta
Cause: UnexpectedError
Unexpected error: Cannot read property 'modules' of undefined
TypeError: Cannot read property 'modules' of undefined
at suite.add.YUITest.TestCase.test: module with example meta (/Users/okuryu/work/yuidoc/tests/parser.js:422:29)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
33. Project Data::test: class with example meta
Cause: UnexpectedError
Unexpected error: Cannot read property 'classes' of undefined
TypeError: Cannot read property 'classes' of undefined
at suite.add.YUITest.TestCase.test: class with example meta (/Users/okuryu/work/yuidoc/tests/parser.js:427:29)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
34. Project Data::test: event with optional items
Cause: UnexpectedError
Unexpected error: Cannot read property 'classitems' of undefined
TypeError: Cannot read property 'classitems' of undefined
at suite.add.YUITest.TestCase.findByName (/Users/okuryu/work/yuidoc/tests/parser.js:36:30)
at suite.add.YUITest.TestCase.test: event with optional items (/Users/okuryu/work/yuidoc/tests/parser.js:432:25)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
35. Project Data::test: markdown example
Cause: UnexpectedError
Unexpected error: Cannot read property 'classitems' of undefined
TypeError: Cannot read property 'classitems' of undefined
at suite.add.YUITest.TestCase.findByName (/Users/okuryu/work/yuidoc/tests/parser.js:36:30)
at suite.add.YUITest.TestCase.test: markdown example (/Users/okuryu/work/yuidoc/tests/parser.js:446:25)
at YUITest.TestRunner.YUITest.Util.mix._resumeTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3140:29)
at YUITest.TestRunner.YUITest.Util.mix._runTest (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3348:26)
at YUITest.TestRunner.YUITest.Util.mix._run (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3096:30)
at null._onTimeout (/Users/okuryu/work/yuidoc/node_modules/yuitest/lib/yuitest-node.js:3261:44)
at Timer.listOnTimeout (timers.js:89:15)
=============================================================================
Writing coverage object [/Users/okuryu/work/yuidoc/coverage/coverage.json]
Writing coverage reports at [/Users/okuryu/work/yuidoc/coverage]
=============================================================================
---------------|----------|----------|----------|----------|----------------|
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
---------------|----------|----------|----------|----------|----------------|
lib/ | 30.67 | 23.6 | 30.46 | 30.67 | |
builder.js | 1.61 | 0 | 0.81 | 1.61 |... 2,1643,1644 |
docparser.js | 33.74 | 22.71 | 43.08 | 33.74 |... 4,1439,1440 |
docview.js | 25 | 0 | 25 | 25 |... 54,57,58,61 |
files.js | 71.2 | 55.45 | 96.15 | 71.2 |... 475,476,477 |
help.js | 57.14 | 100 | 33.33 | 57.14 | 69,78,79 |
index.js | 50 | 43.75 | 66.67 | 50 |... 70,71,72,74 |
options.js | 87.21 | 82.81 | 100 | 87.21 |... 131,133,163 |
project.js | 48.48 | 37.5 | 66.67 | 48.48 |... 54,58,59,60 |
server.js | 5.32 | 0 | 3.7 | 5.32 |... 226,227,231 |
utils.js | 61.45 | 49.57 | 54.17 | 61.45 |... 470,471,475 |
yuidoc.js | 73.17 | 46.43 | 76.19 | 73.17 |... 374,402,403 |
---------------|----------|----------|----------|----------|----------------|
All files | 30.67 | 23.6 | 30.46 | 30.67 | |
---------------|----------|----------|----------|----------|----------------|
=============================== Coverage summary ===============================
Statements : 30.67% ( 629/2051 )
Branches : 23.6% ( 286/1212 )
Functions : 30.46% ( 92/302 )
Lines : 30.67% ( 629/2051 )
================================================================================
npm ERR! Test failed. See above for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment