(Disclaimer: I am a noob myself) Should you follow Test Driven Development (TDD) when you are just a beginner? Well that’s exactly the right time to start, because it is always easier to learn than unlearn. I came across this choice while building a REST API backend for a project I am a part of. Here is my research.
Chakram is built on Mocha and Chai, and here is a sample code for I don’t know what:
Notice the amount of syntax that we will have to learn in order to write a test which doesn’t even make sense (to noobs) in first glance. Negative points to Chakram. And no way to test Multipart uploads. ‘Nuff said. (Check this full API tests)
On the other hand, Frisbyjs’ code sample:
I rest my case.