Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

IntelliJ IDEA and JUnit - Writing, Finding, and Running Tests

JetBrains via YouTube

Overview

Explore the fundamentals of writing, finding, and running tests using IntelliJ IDEA and JUnit in this comprehensive 1-hour tutorial. Begin with creating example programs to ensure software functionality, focusing on both manual and automatic execution methods. Dive into JUnit 5's key components: the JUnit Platform and Test Engines. Start with a build-tool-agnostic approach using a plain `test.base` module in a free-style Java project, requiring only JDK 17.0.1 and IntelliJ IDEA's New Project Wizard. Introduce an example program `test.base.Main` to demonstrate basic "Run..." features in IntelliJ IDEA and Java's assertion capabilities. Transfer the example code into a JUnit Jupiter test method, exploring various sections of JUnit's User Guide on writing tests. Conclude by installing the "Mainrunner" test engine to showcase how plain Java programs can be executed as tests. Gain practical insights into effective testing practices and enhance your software development skills.

Syllabus

IntelliJ IDEA and JUnit: Writing, Finding, and Running Tests

Taught by

IntelliJ IDEA by JetBrains

Reviews

Start your review of IntelliJ IDEA and JUnit - Writing, Finding, and Running Tests

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.