Code Monkey home page Code Monkey logo

Comments (10)

juliemr avatar juliemr commented on July 30, 2024

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.

wyuenho avatar wyuenho commented on July 30, 2024

Can you elaborate on the timeout issue?

from minijasminenode.

juliemr avatar juliemr commented on July 30, 2024

jasmine/jasmine#483

from minijasminenode.

infews avatar infews commented on July 30, 2024

Hey there - we've now made our repo public, but are not yet ready to publish the NPM.

from minijasminenode.

cyrret avatar cyrret commented on July 30, 2024

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.

cyrret avatar cyrret commented on July 30, 2024

Also, we noticed that you are not dependent on jasmine-core. We've submitted pull request #14 to address this. Thanks!

from minijasminenode.

juliemr avatar juliemr commented on July 30, 2024

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.

cyrret avatar cyrret commented on July 30, 2024

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:

  1. Ability to set a custom reporter (vs just console output)
  2. 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
    },
  3. 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.

juliemr avatar juliemr commented on July 30, 2024

@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.

juliemr avatar juliemr commented on July 30, 2024

Done in 889a53c

from minijasminenode.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.