Tech Tracks
Build SoftwareBeginner 19 lessons · 11 h

API Testing & Quality Engineering

Test APIs and apps by hand, in code, and in CI.

Quality engineering is a strong career path and a skill every developer needs. Test APIs with curl, Postman and Bruno, design good test cases, automate with pytest and Vitest, mock, run integration and contract tests, do end-to-end testing with Playwright, load testing with k6 and security scans with ZAP, all wired into GitHub Actions.

You will be able to

  • Test APIs with curl, Postman and Bruno
  • Design test cases that find real bugs
  • Automate unit, API and integration tests
  • Write end-to-end tests with Playwright
  • Load test with k6 and scan with OWASP ZAP
  • Run all tests in CI and plan a test strategy

Who it's for

Manual testers moving to automation, developers who want to write better tests, and freshers targeting QA/SDET roles.

Before you start

Basic programming in Python or JavaScript helps

Roles it leads to

QA engineerSDET / automation engineerPerformance tester

Lessons

Module 1

Testing foundations

Why, what and how to test APIs by hand.

Module 2

Automated tests

Unit, API, integration and contract tests.

Unit testing in Python with pytest

Write your first automated unit tests with pytest: simple asserts, testing for errors, parametrised tests for boundaries, and fixtures. You will test the Brew & Bean price and phone logic.

Unit testing in JavaScript with Vitest and Jest

Write fast unit tests for JavaScript code with Vitest: describe and it blocks, expect matchers, error tests, test.each, beforeEach and mock functions. See how the same skills carry over to Jest.

Automating API tests in code

Turn manual API checks into fast automated tests with pytest and httpx. Build a 13-test suite for the Brew & Bean coffee shop API covering happy paths, validation, business rules and status flow.

Mocks, stubs and test doubles

Learn when and how to replace slow, costly or unreliable dependencies in tests. Understand stubs, mocks, spies and fakes, write them in Python with monkeypatch and unittest.mock, and avoid the classic patching and over-mocking mistakes.

Integration tests with a real database

Write integration tests for the coffee shop API that run against a real database, with a fresh database for every test. Learn dependency overrides, checking stored data, failure-path tests and how to run the same suite on Postgres.

Contract testing and OpenAPI validation

Write down an API's contract with OpenAPI and check that the code keeps it. Validate the spec, check real responses against schemas, let Schemathesis hunt for contract bugs, and catch breaking changes before they reach your apps.

Module 3

Beyond functional testing

End to end, performance, security and CI.

Module 4

Strategy and career

AI in testing, test strategy and the QA career.

Tools, courses & exams

Hand-picked, free first. Free tiers and exam fees change, so check the provider's page.

Free tools

Free courses

Official docs

Practice

Communities

Exams & certifications