Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 605 Bytes

File metadata and controls

24 lines (16 loc) · 605 Bytes

AssertJ Exercises

Starter project for the AssertJ assertions module.

Prerequisites

  • Java 17+
  • Maven 3.8+

Getting Started

  1. Clone this repository
  2. Open the project in IntelliJ IDEA (File → Open → select the pom.xml)
  3. Open src/test/java/com/example/WhenWritingReadableAssertions.java
  4. Replace each assertThat(true).isFalse() placeholder with a correct AssertJ assertion
  5. Run the tests to verify your answers (mvn test or use the IntelliJ test runner)

Running the Tests

mvn test

All tests will fail until you complete the exercises — this is expected.