Comments (10)
Trying out Jasmine 2.0 in the jasmine2 branch. Everything works except for specifying a timeout specifically for a test, which there is now no way to do without modifying the Jasmine code itself.
from minijasminenode.
Can you elaborate on the timeout issue?
from minijasminenode.
from minijasminenode.
Hey there - we've now made our repo public, but are not yet ready to publish the NPM.
from minijasminenode.
We are interested in using Protractor with jasmine 2.0, which relies on this issue being resolved. We tried your jasmine2 branch and everything appears to be working regarding jasmine timeout intervals. Is there any further hold up? We are part of Pivotal and would like to help.
from minijasminenode.
Also, we noticed that you are not dependent on jasmine-core. We've submitted pull request #14 to address this. Thanks!
from minijasminenode.
Hi @cyrret - I'd be happy to work to Jasmine 2.0! On my last view, things were still settling down with Jasmine, so I was waiting for the dust to settle on 2.0 and its relationship with node. If you think it's ready now, I'd be happy to take another look. Ideally, I don't think minijasminenode should exist at all!
from minijasminenode.
Hi Julie - we've been working on a simple Jasmine runner for node here:
https://github.com/pivotal/jasmine-npm
Compared to minijasminenode it's missing the following:
- Ability to set a custom reporter (vs just console output)
- Exposure of the following options to users:
jasmineNodeOpts: {
// onComplete will be called just before the driver quits.
onComplete: null,
// If true, display spec names.
isVerbose: false,
// If true, print colors to the terminal.
showColors: false,
// If true, include stack traces in failures.
includeStackTrace: true,
// Default time to wait in ms before a test fails.
defaultTimeoutInterval: 30000
}, - Programmatic invocation
If you can live without these in Protractor, then we encourage you to
migrate to jasmine-npm and deprecate minijasminenode.
If you need these features, then our current approach is that folks build
something like minijasminenode, but do it on top of jasmine-core vs simply
embedding a copy of jasmine within your runner. I have a pull request out
on minijasminenode that makes the pertinent changes for this.
We're open to feedback/discussing whether this overall approach is
reasonable. Thoughts?
Terry Chen
[email protected]
On Fri, Apr 4, 2014 at 4:18 PM, Julie Ralph [email protected]:
Hi @cyrret https://github.com/cyrret - I'd be happy to work to Jasmine
2.0! On my last view, things were still settling down with Jasmine, so I
was waiting for the dust to settle on 2.0 and its relationship with node.
If you think it's ready now, I'd be happy to take another look. Ideally, I
don't think minijasminenode should exist at all!Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-39620683
.
from minijasminenode.
@cyrret those features are all pretty key. Are there plans to include any of them in jasmine-npm in the future? Jasmine 1.3 is working as is, so there's not a real rush to update minijasminenode for my use cases - I'd be happy to wait for these features if they're in the pipeline.
Otherwise, using jasmine-core instead of embedding a copy sounds entirely reasonable. Just curious.
EDIT - to clarify, (1) and (3) are the really important features. Setting timeouts is also important, as described in jasmine/jasmine#483
from minijasminenode.
Done in 889a53c
from minijasminenode.
Related Issues (14)
- Support it.only or iit HOT 3
- Cannot call method 'addReporter' of undefined
- Feature request: be able to have verbose output without stack traces HOT 3
- removed HOT 1
- Process does not close on async test completion. HOT 2
- Feature Request - output failures as they occur HOT 1
- Feature Request - fail-fast option HOT 19
- Feature request: Output formatting option to indicate success/failure of test spec HOT 1
- Show better reports with iit HOT 1
- Silent option for Jasmine 2.x HOT 2
- Additional reporter doesn't works HOT 1
- bump to jasmine 2.1.x
- Broken with npm v3
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 minijasminenode.