Unit Testing: Executing JUnit Tests

Junit 5.7
  • 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 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

  • Playable
    1. 
    Course Overview
    2m 3s
    UP NEXT
  • Playable
    2. 
    Executing Tests Using Maven
    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 of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE