I am developing an application using Brunch with Coffee.
How do I write unit tests for it? I am currently mostly thinking about the model classes, so it can run without the browser, using NodeJS.
Writing the tests themselves is not the problem here, but having a good way to integrate into how brunch is set up (the way it compiles and stitches everything together and takes care of dependencies) seems a bit tricky.
Have you looked to see how the demo app for Brunch does it:
https://github.com/brunch/todos/tree/gh-pages/test
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With