Tuesday, 9 December 2014

Node + Chrome TDD test environment (finally got it to work)

In the past 3 months I've spent countless hours (and a good number of weekends) trying to figure out a way to better TDD node and JS, and finally I got it to work:


There are so many cool things about that screenshot, but I will need to leave the details to another post (my brain is about to expire). See if you can follow the UnitTest code.

Btw, checkout how fast the tests run (note that I have about 1x second 'code+execution' time):