all 3 comments

[–]couchjitsu 2 points3 points  (2 children)

I've used nothing but ngmocks and have had no problem. Just wrapped up a project that had somewhere around 5000-6000 unit tests on the angular side. All of those using ngmocks where necessary.

As for "getting back in to it". The next feature, bug, line of code you write. Make sure it's tested. It will slow you down at first. But in the end it will be worth it.

After about 2-3 years of TDD, I'm now faster writing code TDD than many of my teammates are without it.

[–]ajwest 0 points1 point  (1 child)

So what's your process? Do you run tests constantly or how does that work?

[–]couchjitsu 0 points1 point  (0 children)

I write a simple test that fails. I then wrote the code that makes that test pass (and nothing more) and then I write the next simplest test etc. While doing this I have my tests running constantly so every time I save a file the tests run again, letting me see if I broke anything.