JUnit and TestNG

I just got finished some code refactoring and a major rearchitecturing of bounties to be more ammenable to unit tests.  Which I, for lack of time, unfortunately didn’t do.  But, now that I have a bit of time and its for a class I’m going to start adding them.

Junit has always been my goto unit testing framework.  It was the one I was taught.   However, I just found a new unit testing framework called TestNG.  According to this article TestNG has more features than Junit!  That link also goes through and compares and gives examples how its used.

So, I’m going to try it out.  See how I like it.