Unit Testing: Executing JUnit Tests

Junit 5.7    |    Intermediate
  • 6 videos | 45m 12s
  • Includes Assessment
  • Earns a Badge
Rating 4.8 of 42 users Rating 4.8 of 42 users (42)
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 course
    Compile and run enabled test cases in your project using apache maven
    Use 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 consolelauncher
    Specify test cases to be included or excluded in a test execution launched from the consolelauncher based on class name or tags
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 2m 3s
  • 9m 27s
  • Locked
    3.  Running Specific Tests Using Maven
    12m 38s
  • Locked
    4.  Running Tests with the JUnit ConsoleLauncher
    10m 22s
  • Locked
    5.  Executing Specific Tests from the Shell
    8m 57s
  • Locked
    6.  Course Summary
    1m 46s

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

Rating 4.4 of 131 users Rating 4.4 of 131 users (131)
Rating 4.6 of 66 users Rating 4.6 of 66 users (66)
Rating 4.7 of 1555 users Rating 4.7 of 1555 users (1555)