-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Comments
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. |
@jasonwr And if you don't need Karma? |
@jbblanchet I don't understand "And if you don't need Karma?" Karma is the test runner and I do need it. |
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. |
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.
|
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
The text was updated successfully, but these errors were encountered: