Testing in Kotlin

Why software needs tests, how JUnit 5 is set up in Kotlin projects, and how to write code that can be tested at all. Builds on "Kotlin Introduction" and "Kotlin OOP".

0 / 8 completed

Module 1 · Why & how we test
011. Why we testLESSON
—2. Test types and test levelsLOCKED
Module 2 · JUnit 5 in practice
—3. Test structure: Arrange – Act – AssertLOCKED
—4. JUnit 5: Test classes and assertionsLOCKED
—5. Parameterized testsLOCKED
—6. Test lifecycle: Setup and teardownLOCKED
Module 3 · Testable code
—7. Testability: Dependency Injection lightLOCKED
—8. Mini project: Making a class testableLOCKED
8 lessonsModule 1 · Why & how we testModule 2 · JUnit 5 in practiceModule 3 · Testable codeProgress: local, no account required