Unit Testing: An Introduction to the JUnit Framework
Junit 5.7 | Beginner
- 10 videos | 1h 9m 41s
- Includes Assessment
- Earns a Badge
JUnit, an open-source unit testing framework, can be used by Java developers who employ a test-driven development methodology. The platform allows you to write and run tests on sections of code repeatedly. Use this course as a quick theoretical and hands-on introduction to the JUnit framework. Begin by looking at the process of software testing in general, then unit-testing with JUnit in particular. Next, move on to writing a simple Java app for which you will write JUnit test cases to ensure that its functions behave in line with expectations. Moving along, learn how to use annotations to mark out methods as test cases and set up work to be carried out before test case executions and tasks to be performed after they have run. When you're done, you'll be able to get started writing unit tests for your code using the JUnit framework.
WHAT YOU WILL LEARN
discover the key concepts covered in this coursedescribe various aspects of software testing and test-driven developmentidentify the significant features of the JUnit framework that simplify the writing of test casescreate a Java project using an Apache Maven archetype that includes a separate test directoryrecognize what steps may be involved when testing an application without the JUnit framework
describe the libraries and annotations that can be used to define JUnit testsrun JUnit tests for your application, both collectively and individuallystructure your test executions by implementing a common set up and clean up methoddefine a common set up and tear down method for all tests in a JUnit classsummarize the key concepts covered in this course
IN THIS COURSE
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.Digital badges are yours to keep, forever.
YOU MIGHT ALSO LIKE
PEOPLE WHO VIEWED THIS ALSO VIEWED THESE
Course Introduction to Git