Junit Fundamentals

Junit 4    |    Beginner
  • 15 videos | 1h 9m 31s
  • Earns a Badge
Rating 4.5 of 162 users Rating 4.5 of 162 users (162)
JUnit is a framework for writing and running unit tests for Java. Discover how to get started with JUnit, key members of the API, and how to create a test case and use fixtures.

WHAT YOU WILL LEARN

  • Create test suites with junit
    Set up junit in eclipse
    Understand how to use the @test annotation
    Run a junit test from java code
    Understand junit assertions
    Understand how to use assert number equality methods in junit tests
    Understand how to use assert object equality methods in junit tests
    Understand how to use assert array equality methods in junit tests
  • Understand how to use assertthat methods in junit tests
    Understand how to use combined assertthat statements in junit tests
    Understand how to use assertthat methods with collections in junit tests
    Understand how to use custom assertthat matchers in junit tests
    Contrast assume with assert and use assume statements in junit tests
    Configure junit test cases
    Work with junit test fixtures

IN THIS COURSE

  • 4m 22s
    In this video, you will learn how to create test suites using JUnit. FREE ACCESS
  • 5m 59s
    In this video, you will learn how to set up JUnit in Eclipse. FREE ACCESS
  • Locked
    3.  Defining @Test
    4m 52s
    Upon completion of this video, you will be able to understand how to use the @Test annotation. FREE ACCESS
  • Locked
    4.  Running from Java Code
    3m 54s
    In this video, learn how to run a JUnit test from your Java code. FREE ACCESS
  • Locked
    5.  General Assertions
    4m 20s
    Upon completion of this video, you will understand JUnit assertions. FREE ACCESS
  • Locked
    6.  Number Equality
    3m 56s
    Upon completion of this video, you will be able to understand how to use Assert number equality methods in JUnit tests. FREE ACCESS
  • Locked
    7.  Object Equality
    4m 12s
    Upon completion of this video, you will be able to understand how to use Assert object equality methods in JUnit tests. FREE ACCESS
  • Locked
    8.  Array Equality
    4m 54s
    After completing this video, you will be able to understand how to use Assert array equality methods in JUnit tests. FREE ACCESS
  • Locked
    9.  Basic assertThat Options
    5m 18s
    Upon completion of this video, you will be able to understand how to use assertThat methods in JUnit tests. FREE ACCESS
  • Locked
    10.  Combination assertThat Statements
    4m 42s
    After completing this video, you will be able to understand how to use combined assertThat statements in JUnit tests. FREE ACCESS
  • Locked
    11.  Collections and assertThat
    4m 28s
    After completing this video, you will be able to understand how to use assertThat methods with collections in JUnit tests. FREE ACCESS
  • Locked
    12.  Custom assertThat Matchers
    5m 14s
    After completing this video, you will be able to understand how to use custom assertThat matchers in JUnit tests. FREE ACCESS
  • Locked
    13.  Assume versus Assert
    4m 33s
    Learn how to contrast Assume with Assert and use Assume statements in JUnit tests. FREE ACCESS
  • Locked
    14.  Setting up Test Cases
    4m
    During this video, you will learn how to configure JUnit test cases. FREE ACCESS
  • Locked
    15.  Test Fixtures
    4m 46s
    In this video, you will learn how to work with JUnit test cases. FREE ACCESS

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

Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Channel TestNG

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.4 of 131 users Rating 4.4 of 131 users (131)
Rating 4.4 of 152 users Rating 4.4 of 152 users (152)
Rating 4.5 of 1884 users Rating 4.5 of 1884 users (1884)