JUnit is one of the most popular open source testing frameworks for all types of Java software applications at the unit, integration, functional, and acceptance testing stages of the software life cycle. This course begins with the fundamentals of JUnit, including installation, setup and integration with Eclipse and Apache Ant, two of the major Integrated Development Environments (IDE) that support JUnit. Then the features of JUnit are covered, along with how different versions compare to each other, and how to customize JUnit and create automated tests.
Students will learn the real-world uses of JUnit, including test strategies and the concept of Test Driven Development (TDD) also known as "test first, code later." Other advanced topics include testing presentation layer, server side, JPA and database access. By the end of this course, students will have learned to use JUnit to test Java applications in all life cycle stages and will be able to apply this framework to build automation testing.
- JUnit fundamentals & setup
- JUnit comparison
- JUnit customization
- JUnit test automation & build process
- Test Driven Development (TDD)
- Test strategies
- Real-world use of JUnit
Skills Needed: The assignment requires coding in Java. The course will not repeat Java programming instructions.