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

CodeSignal

API Test Automation with Kotlin

via CodeSignal

Overview

This course focuses on automating API tests using Kotlin. You'll learn to set up test cases, make assertions on API responses, use mocks for testing, and configure setups and teardowns to automate CRUD operations and authentication.

Syllabus

  • Unit 1: Introduction to API Testing with JUnit in Kotlin
    • Basic API Test with Kotlin
    • Testing API Requests with Arrange-Act-Assert Pattern in Kotlin
    • Focusing API Test on Completed Todo Items
    • Retrieving a Todo Item by ID with JUnit
  • Unit 2: Organizing Tests with Classes and Setup Methods in Kotlin
    • Using OkHttp Client for POST Requests with Fixtures
    • Fixing Fixture Setup in JUnit
    • Organizing Test Code with Fixtures in Kotlin
    • Encapsulating Test Functions in Kotlin Classes
    • Testing PATCH Request for Todo Item Update in Kotlin
  • Unit 3: Testing CRUD Operations in Kotlin with JUnit and OkHttp
    • Inserting Yield Statement in Kotlin Test Fixtures
    • Setup Phase for CRUD Operations Testing in Kotlin
    • Implementing Teardown Phase for Test Cleanup in Kotlin
    • Ensuring Independent and Error-Free Tests with Setup and Teardown
    • Automating Test Setup and Teardown with Fixtures
  • Unit 4: Testing Authenticated API Endpoints with Kotlin
    • Implement API Key Authentication Test in Kotlin
    • Session Authentication Testing in Kotlin
    • Session Authentication Test Suite in Kotlin
    • Testing JWT Authentication in Kotlin
    • Testing JWT Authentication with OkHttp

Reviews

Start your review of API Test Automation with Kotlin

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.