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
-
2m 2s
-
9m 11s
-
5m 50s
-
10m 32s
-
7m 33s
-
11m 12s
-
5m 58s
-
7m 17s
-
8m 28s
-
1m 37s
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.