JetBrains LogoIntelliJ IDEA Guide
All TipsTutorialsPlaylistsTechnologiesTopicsAbout

Get IntelliJ IDEA

Up to Writing JUnit 5 Tests
Previous
Writing JUnit 5 Tests

IntroductionSetting up Gradle for JUnit 5Creating and running a testOptional ConfigurationDisabling or Ignoring TestsHelpful Test Names for DisplayLive Templates TipMultiple AssertionsTest AssumptionsData Driven TestsChecking ExceptionsGrouping TestsShortcuts
Next

Creating and running a test

Getting a JUnit 5 Test running

Creating a running a Junit 5 Test

  • Creating an example JUnit 5 test
  • Generating a test method in the test class
  • Using the JUnit 5 Assertions class
  • Running the test class and viewing the run tool window
  • Using IntelliJ IDEA to help you reduce class visibility
  • Viewing failing tests
Setting up Gradle for JUnit 5
Optional Configuration

Published

  • 2021-01-01
    by:
    Helen Scott

Tutorial Steps

  • 1

    Introduction

  • 2

    Setting up Gradle for JUnit 5

  • 3

    Creating and running a test

  • 4

    Optional Configuration

  • 5

    Disabling or Ignoring Tests

  • 6

    Helpful Test Names for Display

  • 7

    Live Templates Tip

  • 8

    Multiple Assertions

  • 9

    Test Assumptions

  • 10

    Data Driven Tests

  • 11

    Checking Exceptions

  • 12

    Grouping Tests

  • 13

    Shortcuts

Copyright © 2000–2023 JetBrains s.r.o.