Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Epic Test Arch. - test everything, everywhere all at once
Rating: 4.0 out of 5(9 ratings)
191 students

Epic Test Arch. - test everything, everywhere all at once

Comprehensive JS/TS Testing: Contract, API, UI, schema validation, Jest, Pact, Cypress, and more
Created byMurat Ozcan
Last updated 1/2025
English
English [Auto],

What you'll learn

  • Fullstack mastery of JS/TS test tools and how they work together locally and in CI; Jest, Pact, Cypress, Github Actions
  • Master the 3 contract testing types from Pact; Consumer Driven, Provider Driven, Message Queue (Kafka)
  • Master of the 3 testing types with Cypress; UI e2e, API e2e, UI component
  • Master creating schemas with Zod, full stack schema validation, and auto OpenAPI spec generation
  • Master schema testing and schema validation using Cypress and Optic
  • Learn advanced TypesScript, ports & adapters pattern, Jest, React and React-Query

Course content

22 sections55 lectures22h 36m total length
  • Intro8:20

    Explore Pact-based testing across provider, consumer, and message queue scenarios, using open API docs, optic schema validation, Cypress API e2e, and a TypeScript stack with Express, Prisma, and Kafka.

  • Test setup21:04

    Explore how to set up a Cypress API testing workflow using template repositories for consumer and provider with node 20, ESLint, Prettier, TypeScript, and Macaroon for network mocking.

  • Prisma - 029:35

    Initialize a Prisma project with SQLite, define a Movie model, and configure env variables. Set up start scripts and a basic Express server to run migrations and tests.

  • Prisma - 120:56

    Learn prisma client setup with tsconfig for type checking on sqlite, and test APIs using postman, rest client, and Cypress data sessions for token reuse.

Requirements

  • Familiarity with Git and npm.

Description

Course Overview:

This course provides an all-encompassing journey into JavaScript/TypeScript testing architectures that cover everything from consumer-driven and provider-driven contract testing to full-stack UI/API end-to-end testing, and schema validation . By the end of this course, you’ll have the skills to implement a robust and scalable test suite across any modern application architecture. Whether you're testing UI components in React, handling APIs, or setting up CI workflows on GitHub Actions, this course has you covered.

What You’ll Learn:

  • Comprehensive Contract Testing with Pact: Master consumer-driven, provider-driven, and message queue (Kafka) contract testing, ensuring seamless integration between services and preventing breaking changes before they reach any deployment. Identify issues that may not show up in your PR but could break other services in deployments — shift left and catch them early.

  • Cypress for Full-Stack Testing: Gain expertise in UI end-to-end (E2E), API E2E, and UI component testing modern React, to cover all interaction points in your application, using Mockoon to mock network requests for isolated API testing.

  • Schema Validation with Zod and Optic: Build schemas, automatically generate OpenAPI specifications directly from code, validate them end-to-end with Optic, and schema test them with cypress-ajv-schema-validator, ensuring consistency and preventing breaking API changes at the PR level.

  • Advanced TypeScript and Testing Patterns: Learn advanced TypeScript concepts, the Ports & Adapters pattern, and best practices with Jest, React, and React-Query.

  • CI/CD Integration with GitHub Actions: Set up automated, scalable testing workflows in CI, ensuring code quality and reliability with every deployment.

Why Take This Course?

Using 3 repos, a variety of tech and test tools, this is one of the most comprehensive courses on testing architecture available. Designed for developers & testers who want a deep, practical understanding of full-stack testing that scales across complex applications, it also provides tools to catch breaking changes before they affect other services on deployments, at PR level. Even seasoned experts will find valuable insights and techniques, while beginners can follow along step-by-step to get everything working locally and in CI.

Requirement: Familiarity with Git and npm.

Get ready to elevate your testing skills, ensuring every part of your app is covered from development to deployment—and that you’re equipped to prevent breaking changes that might pass in PRs but fail in deployments!

Who this course is for:

  • This is the most comprehensive test related course out there. Even for the top level expert there is something new to learn. However, following the videos and the matching branches, anyone can follow along and get the code working locally and in CI.