Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain what gulp-jasmine does in the readme #46

Closed
tkrotoff opened this issue Mar 30, 2015 · 5 comments
Closed

Explain what gulp-jasmine does in the readme #46

tkrotoff opened this issue Mar 30, 2015 · 5 comments

Comments

@tkrotoff
Copy link

It is unclear what gulp-jasmine does. So i've tried it and got: window is not defined.

I believe gulp-jasmine runs Jasmine through Node.js and thus is not suitable for client side testing.
A mention on the readme explaining "works only for server side code" would be nice.

Edit:
Not the only one to be confused: http://stackoverflow.com/questions/27224919

@JSONRice
Copy link

What's the benefit of using gulp-jasmine if the Jasmine framework can be pulled directly into the karma.config.js file? I don't see a reason to use it. Just set this in Karma and let Gulp call it.

@jbblanchet
Copy link
Contributor

@jasonwr And if you don't need Karma?

@JSONRice
Copy link

@jbblanchet I don't understand "And if you don't need Karma?" Karma is the test runner and I do need it.

@jbblanchet
Copy link
Contributor

Karma is one of many test runners, and you're free to use it. But it's not the only one. The easiest example is if you need to test server code. Why use Karma? Just use gulp-jasmine, your tests will run quicker and you'll have one less dependency.

@JSONRice
Copy link

I’m using gulp-jasmine for the server side tests and Karma for the front-end tests. This works fine for me. There’s a lot of community support and documentation for Karma.

On Mar 28, 2016, at 8:56 PM, jbblanchet notifications@github.com wrote:

Karma is one of many test runners, and you're free to use it. But it's not the only one. The easiest example is if you need to test server code. Why use Karma? Just use gulp-jasmine, your tests will run quicker and you'll have one less dependency.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub #46 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants