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

CodeSignal

Automating API Tests with Scala

via CodeSignal

Overview

In this course, you will learn how to write automated tests for APIs using a MUnit alongside Requests-Scala. By the end of this course, you'll be able to set up test cases, make API requests within tests, assert expected outcomes, use fixtures for code reusability, and handle CRUD and authentication scenarios.

Syllabus

  • Unit 1: Writing Basic Tests with MUnit
    • Exploring Basic API Test Execution
    • Completing Your First API Test
    • Customizing API Test Requests
    • Creating A New Test
  • Unit 2: Organizing Tests With Classes And Fixtures
    • Complete Your API Test with Fixtures
    • Introduce Fixtures to Test Setup
    • Fix Fixture Setup for Testing
    • Organize Tests with Classes
    • Mastering Testing with Classes and Fixtures
  • Unit 3: Testing CRUD Operations with Setup and Teardown
    • Complete Setup and Teardown
    • Setting Up Your Test Environment
    • Focus on Teardown
    • Fix Test Setup and Teardown
    • Streamline Tests with MUnit Fixtures
  • Unit 4: Testing Authenticated Endpoints
    • Test Protected API Endpoint with API Key
    • Implement Session Test Helper and Login
    • Complete Session Authentication Test Suite
    • Testing JWT Login Authentication
    • Complete Protected JWT Test Suite

Reviews

Start your review of Automating API Tests with Scala

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.