quangv / mocha-cakes

(inactive) BDD mocha test framework add-on, stories with Cucumber style Given/When/Then syntax for Node.js
MIT License
126 stars 6 forks source link

Support requirejs environment #11

Open bennidi opened 9 years ago

bennidi commented 9 years ago

Hi, I think that this library does a fantastic job and I really would love to use it in my project. My stack uses karma and mocha for testing and requirejs for module loading. Unfortunately, cakes does not seem to be compatible with that environment. I tried browserifying it as a standalone module but when I load the result into karma I only get a generic error from requirejs loader.

Do you still work on this module? If so, I would be really happy to see a karma plugin like karma-sinon-chai that loads all necessary files. Or a browserified version additional to the main version. Is that something you would spend time working on? I have tried for some hours to make it work but wasn't successful. I will try to get feedback from the requirejs developers but might not be able to do it all by myself.

quangv commented 9 years ago

Hey bennidi,

This project is no longer being actively maintained.