Skip to content

Instantly share code, notes, and snippets.

@MarkBennett
Last active December 10, 2015 13:18
Show Gist options
  • Save MarkBennett/4440336 to your computer and use it in GitHub Desktop.
Save MarkBennett/4440336 to your computer and use it in GitHub Desktop.
Details of a failing Testacular configuration. This is running on Mac OS 10.8.2 with Node v0.8.16 installed from the Node pkg installer.
/usr/local/share/npm/lib
├─┬ coffeelint@0.5.2
│ ├── coffee-script@1.3.3
│ ├─┬ glob@3.1.13
│ │ ├── graceful-fs@1.1.14
│ │ ├── inherits@1.0.0
│ │ └─┬ minimatch@0.2.7
│ │ └── lru-cache@2.0.4
│ └─┬ optimist@0.3.5
│ └── wordwrap@0.0.2
├─┬ grunt@0.3.17
│ ├── async@0.1.22
│ ├── colors@0.6.0-1
│ ├─┬ connect@2.4.6
│ │ ├── bytes@0.1.0
│ │ ├── cookie@0.0.4
│ │ ├── crc@0.2.0
│ │ ├── debug@0.7.0
│ │ ├── formidable@1.0.11
│ │ ├── fresh@0.1.0
│ │ ├── pause@0.0.1
│ │ ├── qs@0.5.1
│ │ └─┬ send@0.0.4
│ │ ├── mime@1.2.6
│ │ └── range-parser@0.0.4
│ ├── dateformat@1.0.2-1.2.3
│ ├─┬ glob-whatev@0.1.8
│ │ └─┬ minimatch@0.2.9
│ │ ├── lru-cache@2.0.4
│ │ └── sigmund@1.0.0
│ ├─┬ gzip-js@0.3.1
│ │ ├── crc32@0.2.2
│ │ └── deflate-js@0.2.2
│ ├── hooker@0.2.3
│ ├─┬ jshint@0.9.1
│ │ ├─┬ cli@0.4.3
│ │ │ └─┬ glob@3.1.14
│ │ │ ├── graceful-fs@1.1.14
│ │ │ ├── inherits@1.0.0
│ │ │ └─┬ minimatch@0.2.9
│ │ │ ├── lru-cache@2.0.4
│ │ │ └── sigmund@1.0.0
│ │ └─┬ minimatch@0.0.5
│ │ └── lru-cache@1.0.6
│ ├─┬ nodeunit@0.7.4
│ │ └─┬ tap@0.3.3
│ │ ├── buffer-equal@0.0.0
│ │ ├── deep-equal@0.0.0
│ │ ├─┬ difflet@0.2.3
│ │ │ ├── charm@0.0.8
│ │ │ └── traverse@0.6.3
│ │ ├── inherits@1.0.0
│ │ ├── mkdirp@0.3.4
│ │ ├─┬ nopt@2.0.0
│ │ │ └── abbrev@1.0.3
│ │ ├─┬ runforcover@0.0.2
│ │ │ └─┬ bunker@0.1.2
│ │ │ └─┬ burrito@0.2.12
│ │ │ ├── traverse@0.5.2
│ │ │ └── uglify-js@1.1.1
│ │ ├── slide@1.1.3
│ │ └── yamlish@0.0.5
│ ├─┬ nopt@1.0.10
│ │ └── abbrev@1.0.3
│ ├─┬ prompt@0.1.12
│ │ ├── pkginfo@0.2.3
│ │ └─┬ winston@0.5.11
│ │ ├── eyes@0.1.8
│ │ ├─┬ loggly@0.3.11
│ │ │ ├── request@2.9.203
│ │ │ └── timespan@2.2.0
│ │ └── stack-trace@0.0.6
│ ├── semver@1.0.14
│ ├─┬ temporary@0.0.5
│ │ └── package@1.0.1
│ ├── uglify-js@1.3.4
│ ├── underscore@1.2.4
│ └── underscore.string@2.1.1
├─┬ handlebars@1.0.7
│ ├─┬ optimist@0.3.5
│ │ └── wordwrap@0.0.2
│ └── uglify-js@1.2.6
├─┬ testacular@0.5.7
│ ├── chokidar@0.5.0
│ ├── coffee-script@1.4.0
│ ├── colors@0.6.0-1
│ ├── dateformat@1.0.4-1.2.3
│ ├─┬ glob@3.1.14
│ │ ├── graceful-fs@1.1.14
│ │ └── inherits@1.0.0
│ ├── growly@1.0.0
│ ├─┬ http-proxy@0.8.7
│ │ └── pkginfo@0.2.3
│ ├─┬ istanbul@0.1.22
│ │ ├── abbrev@1.0.3
│ │ ├── async@0.1.22
│ │ ├─┬ escodegen@0.0.15
│ │ │ ├── esprima@1.0.2
│ │ │ └─┬ source-map@0.1.8
│ │ │ └── amdefine@0.0.4
│ │ ├── esprima@0.9.9
│ │ ├─┬ fileset@0.1.3
│ │ │ ├─┬ glob@3.0.1
│ │ │ │ ├── fast-list@1.0.2
│ │ │ │ ├── graceful-fs@1.1.14
│ │ │ │ └── inherits@1.0.0
│ │ │ └─┬ minimatch@0.1.5
│ │ │ └── lru-cache@1.0.6
│ │ ├─┬ handlebars@1.0.7
│ │ │ └── uglify-js@1.2.6
│ │ ├── mkdirp@0.3.4
│ │ ├── nopt@2.0.0
│ │ ├── which@1.0.5
│ │ └── wordwrap@0.0.2
│ ├─┬ LiveScript@1.1.1
│ │ └── prelude-ls@0.6.0
│ ├── lodash@0.9.2
│ ├─┬ minimatch@0.2.9
│ │ ├── lru-cache@2.0.4
│ │ └── sigmund@1.0.0
│ ├─┬ optimist@0.3.5
│ │ └── wordwrap@0.0.2
│ ├── pause@0.0.1
│ ├── q@0.8.12
│ ├─┬ rimraf@2.1.1
│ │ └── graceful-fs@1.1.14
│ ├─┬ socket.io@0.9.13
│ │ ├── base64id@0.1.0
│ │ ├── policyfile@0.0.4
│ │ ├── redis@0.7.3
│ │ └─┬ socket.io-client@0.9.11
│ │ ├─┬ active-x-obfuscator@0.0.1
│ │ │ └── zeparser@0.0.5
│ │ ├── uglify-js@1.2.5
│ │ ├─┬ ws@0.4.25
│ │ │ ├── commander@0.6.1
│ │ │ ├── options@0.0.3
│ │ │ └── tinycolor@0.0.1
│ │ └── xmlhttprequest@1.4.2
│ └── xmlbuilder@0.4.2
└─┬ yeoman@0.9.6
├─┬ bower@0.3.2
│ ├── archy@0.0.2
│ ├── async@0.1.22
│ ├─┬ glob@3.1.14
│ │ ├── graceful-fs@1.1.14
│ │ ├── inherits@1.0.0
│ │ └─┬ minimatch@0.2.9
│ │ ├── lru-cache@2.0.4
│ │ └── sigmund@1.0.0
│ ├── hogan.js@2.0.0
│ ├── lodash@0.9.2
│ ├─┬ nopt@2.0.0
│ │ └── abbrev@1.0.3
│ ├─┬ rc@0.0.6
│ │ ├─┬ config-chain@0.3.3
│ │ │ ├── ini@1.0.5
│ │ │ └── proto-list@1.2.2
│ │ └─┬ optimist@0.3.5
│ │ └── wordwrap@0.0.2
│ ├─┬ read-package-json@0.1.12
│ │ ├── graceful-fs@1.1.14
│ │ ├── lru-cache@2.0.4
│ │ ├─┬ npmlog@0.0.2
│ │ │ └── ansi@0.1.2
│ │ └── slide@1.1.3
│ ├─┬ request@2.11.4
│ │ ├─┬ form-data@0.0.3
│ │ │ ├── async@0.1.9
│ │ │ └─┬ combined-stream@0.0.3
│ │ │ └── delayed-stream@0.0.5
│ │ └── mime@1.2.7
│ ├── semver@1.1.1
│ ├── stable@0.1.2
│ ├── tmp@0.0.16
│ └─┬ vows@0.6.4
│ ├── diff@1.0.4
│ └── eyes@0.1.8
├─┬ cheerio@0.9.2
│ ├─┬ cheerio-select@0.0.3
│ │ └─┬ CSSselect@0.3.0
│ │ └── CSSwhat@0.1.1
│ ├── entities@0.1.1
│ ├─┬ htmlparser2@2.5.0
│ │ ├── domelementtype@1.0.1
│ │ ├── domhandler@2.0.1
│ │ └── domutils@1.0.1
│ └── underscore@1.4.3
├─┬ clean-css@0.3.3
│ └── optimist@0.1.9
├── coffee-script@1.3.3
├── colors@0.6.0-1
├─┬ connect@2.2.2
│ ├── crc@0.1.0
│ ├── debug@0.7.0
│ ├── formidable@1.0.9
│ ├── mime@1.2.4
│ └── qs@0.4.2
├── es6-collections@0.2.0
├── faye-websocket@0.4.3
├─┬ fstream@0.1.21
│ ├── graceful-fs@1.1.14
│ └── inherits@1.0.0
├─┬ fstream-ignore@0.0.5
│ ├── inherits@1.0.0
│ └─┬ minimatch@0.2.9
│ ├── lru-cache@2.0.4
│ └── sigmund@1.0.0
├─┬ grunt@0.4.0a
│ ├── async@0.1.22
│ ├── dateformat@1.0.2-1.2.3
│ ├─┬ glob-whatev@0.1.8
│ │ └─┬ minimatch@0.2.9
│ │ ├── lru-cache@2.0.4
│ │ └── sigmund@1.0.0
│ ├─┬ gzip-js@0.3.1
│ │ ├── crc32@0.2.2
│ │ └── deflate-js@0.2.2
│ ├── hooker@0.2.3
│ ├─┬ jshint@0.7.3
│ │ ├─┬ cli@0.4.3
│ │ │ └─┬ glob@3.1.14
│ │ │ ├── graceful-fs@1.1.14
│ │ │ ├── inherits@1.0.0
│ │ │ └─┬ minimatch@0.2.9
│ │ │ ├── lru-cache@2.0.4
│ │ │ └── sigmund@1.0.0
│ │ └─┬ minimatch@0.0.5
│ │ └── lru-cache@1.0.6
│ ├─┬ nodeunit@0.7.4
│ │ └─┬ tap@0.3.3
│ │ ├── buffer-equal@0.0.0
│ │ ├── deep-equal@0.0.0
│ │ ├─┬ difflet@0.2.3
│ │ │ ├── charm@0.0.8
│ │ │ └── traverse@0.6.3
│ │ ├── inherits@1.0.0
│ │ ├─┬ nopt@2.0.0
│ │ │ └── abbrev@1.0.3
│ │ ├─┬ runforcover@0.0.2
│ │ │ └─┬ bunker@0.1.2
│ │ │ └─┬ burrito@0.2.12
│ │ │ ├── traverse@0.5.2
│ │ │ └── uglify-js@1.1.1
│ │ ├── slide@1.1.3
│ │ └── yamlish@0.0.5
│ ├─┬ nopt@1.0.10
│ │ └── abbrev@1.0.3
│ ├── semver@1.0.14
│ ├─┬ temporary@0.0.5
│ │ └── package@1.0.1
│ ├── uglify-js@1.2.6
│ ├── underscore@1.3.3
│ └── underscore.string@2.1.1
├─┬ grunt-contrib-coffee@0.3.2
│ └── grunt-lib-contrib@0.3.1
├─┬ grunt-jasmine-task@0.2.3
│ └─┬ temporary@0.0.5
│ └── package@1.0.1
├─┬ grunt-mocha@0.1.7
│ ├── growl@1.6.1
│ └─┬ temporary@0.0.5
│ └── package@1.0.1
├── html-minifier@0.4.5
├── mkdirp@0.3.4
├── open@0.0.2
├─┬ prompt@0.1.12
│ ├── async@0.1.22
│ ├── pkginfo@0.2.3
│ └─┬ winston@0.5.11
│ ├── eyes@0.1.8
│ ├─┬ loggly@0.3.11
│ │ └── timespan@2.2.0
│ └── stack-trace@0.0.6
├── request@2.9.203
├── requirejs@2.0.6
├─┬ rimraf@2.0.3
│ └── graceful-fs@1.1.14
├── shelljs@0.0.9
├─┬ tar@0.1.14
│ ├── block-stream@0.0.6
│ └── inherits@1.0.0
├── which@1.0.5
└─┬ yeoman-generators@0.9.5
├─┬ cheerio@0.10.5
│ ├─┬ cheerio-select@0.0.3
│ │ └─┬ CSSselect@0.3.0
│ │ └── CSSwhat@0.1.1
│ ├── entities@0.1.1
│ ├─┬ htmlparser2@2.5.0
│ │ ├── domelementtype@1.0.1
│ │ ├── domhandler@2.0.1
│ │ └── domutils@1.0.1
│ └── underscore@1.4.3
├── diff@1.0.4
└── mime@1.2.7
$ testacular start
warn (watcher): Pattern "/test/**/*Spec.js" does not match any file.
info: Testacular server started at http://localhost:8080/
info (launcher): Starting browser PhantomJS
error: Error: ENOENT, lstat '/test'
// Testacular configuration
// Generated on Wed Jan 02 2013 19:18:21 GMT-0700 (MST)
// base path, that will be used to resolve files and exclude
basePath = '../../../../..';
// list of files / patterns to load in the browser
files = [
JASMINE,
JASMINE_ADAPTER,
'test/**/*Spec.js'
];
// list of files to exclude
exclude = [
];
// test results reporter to use
// possible values: 'dots', 'progress', 'junit'
reporters = ['progress'];
// web server port
port = 8080;
// cli runner port
runnerPort = 9100;
// enable / disable colors in the output (reporters and logs)
colors = true;
// level of logging
// possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
logLevel = LOG_INFO;
// enable / disable watching file and executing tests whenever any file changes
autoWatch = true;
// Start these browsers, currently available:
// - Chrome
// - ChromeCanary
// - Firefox
// - Opera
// - Safari (only Mac)
// - PhantomJS
// - IE (only Windows)
// browsers = ['Chrome', 'Firefox', 'PhantomJS'];
browsers = ['PhantomJS'];
// If browser does not capture in given timeout [ms], kill it
captureTimeout = 5000;
// Continuous Integration mode
// if true, it capture browsers, run tests and exit
singleRun = false;
.
├── test
│   └── spec
│   └── AwesomeSpec.js
└── testacular.conf.js
2 directories, 2 files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment