Unit Testing: Executing JUnit Tests
Junit 5.7
| Intermediate
- 6 Videos | 45m 12s
- Includes Assessment
- Earns a Badge
JUnit, the Java unit testing framework, can be used with an IDE but also with a build system, such as Maven. Furthermore, JUnit ConsoleLauncher, a stand-alone application, can be used to launch the platform from the command line. This course will dive deep into the use of Maven as well as the JUnit ConsoleLauncher to run all and specific test cases in your application. Begin by running all test cases you have written for your app using Maven. Then run specific tests and define groups of tests using JUnit tags. Next, run the tests from the command line. Finally, execute such tests using the JUnit ConsoleLauncher, which can be run from a shell without other tools such as Maven. Upon completing the course, you'll be able to execute JUnit test cases from the command line using Apache Maven and the JUnit ConsoleLauncher.
WHAT YOU WILL LEARN
-
discover the key concepts covered in this coursecompile and run enabled test cases in your project using Apache Mavenuse Apache Maven to execute only specific test cases based on class name, method name, or tags
-
compile and run enabled test cases in your project using the JUnit ConsoleLauncherspecify test cases to be included or excluded in a test execution launched from the ConsoleLauncher based on class name or tagssummarize the key concepts covered in this course
IN THIS COURSE
-
1.Course Overview2m 3sUP NEXT
-
2.Executing Tests Using Maven9m 27s
-
3.Running Specific Tests Using Maven12m 38s
-
4.Running Tests with the JUnit ConsoleLauncher10m 22s
-
5.Executing Specific Tests from the Shell8m 57s
-
6.Course Summary1m 46s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.