Closed barrybecker4 closed 5 years ago
This is a pretty straightforward mechanical change. I already did it for bb4-common.
change dependency in gradle file. remove "extends from TestCase" in test classes. Add @Test annotation to test methods. Use static import for assertTrue etc.
See also http://stackoverflow.com/questions/264680/best-way-to-automagically-migrate-tests-from-junit-3-to-junit-4
Not only did I do this a while back, but its no longer relevant since we now use scalatest after porting to java.
This is a pretty straightforward mechanical change. I already did it for bb4-common.
change dependency in gradle file. remove "extends from TestCase" in test classes. Add @Test annotation to test methods. Use static import for assertTrue etc.
See also http://stackoverflow.com/questions/264680/best-way-to-automagically-migrate-tests-from-junit-3-to-junit-4