Comments (7)
Just tried this and everything is fine when I run it
$ grunt simplemocha
Running "simplemocha:unit" (simplemocha) task
․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․․
✖ 1 of 225 tests failed:
1) browser Result should compute totalTime:
ReferenceError: bla is not defined
at Context.emitter (/Users/dignifiedquire/opensource/testacular/offical/test/unit/browser.spec.coffee:24:16)
at Test.Runnable.run (/Users/dignifiedquire/opensource/testacular/offical/node_modules/mocha/lib/runnable.js:213:32)
at Runner.runTest (/Users/dignifiedquire/opensource/testacular/offical/node_modules/mocha/lib/runner.js:343:10)
at Runner.runTests.next (/Users/dignifiedquire/opensource/testacular/offical/node_modules/mocha/lib/runner.js:389:12)
at next (/Users/dignifiedquire/opensource/testacular/offical/node_modules/mocha/lib/runner.js:269:14)
at Runner.hooks (/Users/dignifiedquire/opensource/testacular/offical/node_modules/mocha/lib/runner.js:278:7)
at next (/Users/dignifiedquire/opensource/testacular/offical/node_modules/mocha/lib/runner.js:226:23)
at Runner.hook (/Users/dignifiedquire/opensource/testacular/offical/node_modules/mocha/lib/runner.js:241:7)
at Hook.Runnable.run (/Users/dignifiedquire/opensource/testacular/offical/node_modules/mocha/lib/runnable.js:215:5)
at next (/Users/dignifiedquire/opensource/testacular/offical/node_modules/mocha/lib/runner.js:235:10)
Warning: Task "simplemocha:unit" failed. Use --force to continue.
Aborted due to warnings.
dignifiedquire in ~/opensource/testacular/offical(8h41m|master*)
$ npm ls grunt-simple-mocha
[email protected] /Users/dignifiedquire/opensource/testacular/offical
└── [email protected]
dignifiedquire in ~/opensource/testacular/offical(8h41m|master*)
$ npm ls grunt
[email protected] /Users/dignifiedquire/opensource/testacular/offical
└── [email protected]
dignifiedquire in ~/opensource/testacular/offical(8h41m|master*)
$ npm ls chai
[email protected] /Users/dignifiedquire/opensource/testacular/offical
└── [email protected]
dignifiedquire in ~/opensource/testacular/offical(8h41m|master*)
$ npm ls mocha
[email protected] /Users/dignifiedquire/opensource/testacular/offical
└── [email protected]
from grunt-simple-mocha.
@vojtajina Did you find any solution to this? I'm winding up with the same exact behavior.
from grunt-simple-mocha.
Hi, I have the same problem.
from grunt-simple-mocha.
Hi, I also came across this annoys issue.
Gruntfile.js:
82 ¦ simplemocha: {
83 ¦ ¦ options: {
84 ¦ ¦ ¦ timeout: 3000,
85 ¦ ¦ ¦ ignoreLeaks: false,
86 ¦ ¦ ¦ ui: 'bdd',
87 ¦ ¦ ¦ reporter: 'spec'
88 ¦ ¦ },
89 ¦ ¦ all: ['spec/node/*/-test.js']
90 ¦ },
from grunt-simple-mocha.
Same here.
PR #29 fixes the issue.
from grunt-simple-mocha.
good news. close it ba.
from grunt-simple-mocha.
This is an ancient issue, but you should be able to pass in fullTrace: true
as an option. Please reopen if I'm misunderstanding the issue or if that doesn't work. Thank you for reporting.
from grunt-simple-mocha.
Related Issues (20)
- Running from a grunt-regarde task only runs tests on first pass HOT 1
- var paths = this.filesSrc.map(path.resolve) show the test src path HOT 6
- Simplemocha broke on Grunt 0.4 HOT 4
- Taks cannot be proceeded after upgrading Node to v0.10.x HOT 3
- Feature request: specify destination for results HOT 2
- Setting working directory HOT 1
- Should pass `--grep` from command line
- Using Assertion Libs HOT 1
- Calling path.resolve from tests with "./" relative notation resolves it starting from project's root HOT 1
- Add coffeescript example
- Reporters HOT 4
- The clause(grep: "*-test") in the example Gruntfile.js is likely to misguide users. HOT 1
- The `grep` option may cause confusion HOT 5
- Update readme and usage description on npmjs.com HOT 1
- reporter spec won't print stack trace when using simplemocha HOT 1
- How to run mocha in verbose mode? HOT 2
- Expose a way to emulate `-r` option
- Not able to set reporter options when using MochaAwesome as the reporter
- Please update npm dependency: mocha
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grunt-simple-mocha.