javascript - How do I integrate jasmine into mocha? -


i have large set of unit test written in jasmine-node node project. want use mocha expanded feature set i'm pretty in bed jasmine both style , extensive use of spies. have several helpers , custom code jasmine dependent.

how can use jasmine-node or jasmine library framework while mocha testing engine? can 2 play nicely or have rewrite testing environment mocha, chai, , sinon?

how can use jasmine-node or jasmine library framework while mocha testing engine?

what? mean want code tests against jasmine , somehow run them in mocha? while i'm sure it's possible, sounds bizarre.

for given suite of tests, it's 1 or other. have similar different apis have choose one. choosing both in single project poor judgement imho. other mocha's vastly superior async support, can't see how justify using both when closely related. it's going create confusing annoyance maintenance.

suggestion: split project apart smaller, separate modules. can port each of these smaller modules when time right if want migrate jasmine mocha.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -