Sha256: 84a68bad73215d36fd0ac565898b4f63df52a4af1fb360b59d4ae3c90f9069ed
Contents?: true
Size: 853 Bytes
Versions: 6
Compression:
Stored size: 853 Bytes
Contents
require.paths.unshift('./lib', './spec'); process.mixin(require('sys')) require("jspec") require("unit/helpers") quit = process.exit print = puts readFile = function(path) { var result require('posix') .cat(path, "utf8") .addCallback(function(contents){ result = contents }) .addErrback(function(){ throw new Error("failed to read file `" + path + "'") }) .wait() return result } JSpec .exec('spec/unit/spec.js') .exec('spec/unit/spec.utils.js') .exec('spec/unit/spec.modules.js') .exec('spec/unit/spec.matchers.js') .exec('spec/unit/spec.shared-behaviors.js') .exec('spec/unit/spec.grammar.js') .exec('spec/unit/spec.grammar-less.js') //.exec('spec/unit/spec.fixtures.js') TODO: when exceptions bubble properly uncomment .run({ reporter: JSpec.reporters.Terminal, failuresOnly: true, fixturePath: 'spec/fixtures' }) .report()
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
jspec-3.2.1 | spec/node.js |
jspec-3.2.0 | spec/node.js |
jspec-3.1.3 | spec/node.js |
jspec-3.1.2 | spec/node.js |
jspec-3.1.1 | spec/node.js |
jspec-3.1.0 | spec/node.js |