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

Replace Jasmine with Mocha + Chai #102

Open
justincy opened this issue Jul 3, 2015 · 3 comments
Open

Replace Jasmine with Mocha + Chai #102

justincy opened this issue Jul 3, 2015 · 3 comments
Labels

Comments

@justincy
Copy link
Contributor

justincy commented Jul 3, 2015

They are more flexible than Jasmine. I especially like how Chai has more built-in asserts/expectations.

@bean5
Copy link

bean5 commented Jul 5, 2015

Hey, @justincy. I don't maintain things in this project, but I do follow the project a little. I have been studying Jasmine and Mocha+Chai for a bit. I only read up on them enough to know they are remarkably similar. Are Mocha + Chai better followed now? Besides more built-in asserts/expectations, do you know of anything that mocha+chai do better than Jasmine?

@justincy
Copy link
Contributor Author

justincy commented Jul 6, 2015

Are Mocha + Chai better followed now?

Yes.

Besides more built-in asserts/expectations...

I just want to note that this is a big deal. While writing tests for the new places API on Friday, Jasmine's lack of useful asserts prevented me from testing as fully as I would have with Chai.

do you know of anything that mocha+chai do better than Jasmine?

Not really. I can think of trivial things, such as not requiring all files to have the same suffix. In the end it's a combination of wanting better asserts and having a strong personal bias in favor of Mocha.

@bean5
Copy link

bean5 commented Jul 6, 2015

That is good to know. Flexibility does sound like a plus. I keep hearing Mocha + Chai more than I hear Jasmine. Thanks.

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

No branches or pull requests

2 participants