Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
by
FREELessons:22Length:3.6 hours

Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

3.3 Unit Testing

In this lesson, we learn how to use the popular JUnit testing framework to write unit tests for our CreditCard class to ensure that it’s working properly. We’ll also write a CreditCardTester class, which can be used to run our program within the console.