xolvio / qualityfaster

An example project showing how to create robust and maintainable acceptance tests
262 stars 58 forks source link

why mocha and not jasmine, in the dev branch? #65

Closed Alino closed 7 years ago

Alino commented 7 years ago

I am used now to jasmine, also thanks to your previous work with sanjo:jasmine and so on. Please could you explain the reason of this switch?

samhatoum commented 7 years ago

Mocha is more extensible and therefore gives users more options. For example, you can still use jasmine assertions with it using this if you want to keep the same tests.

Mocha also has better reporter options and diff views.

It's super easy to apply what you see in Jasmine if you prefer it. There's some minor syntax differences but that's about it.

Alino commented 7 years ago

cool thanks, I didn't know that I can use mocha and keep my tests with jasmine assertions library. And those mocha reporters look amazing. So it seems that I am going to switch to mocha.