News for hackers. Stuff that matters.
Re:Testing code is simple by vpeters25 on Thursday September 26, 2013 @10:13AM (#6450858)
My experience is that a simple "it works" test covers most of the potential bugs in the test subject, so I just write {method name}_itWorks and just call the method inside asserting whatever the method was supposed to do.

I only write more tests if there are important business rules (new employees should be created with "Pending" status), or to cover edge cases uncovered by QA.

There are no comments on this comment yet.