From Unit to E2Es — A Testing Guide to Sleeping Better at Night

Presentation byDaniel Afonso

We all want to sleep well at night and be fully confident in the code we built. One thing that can contribute to increasing your number of hours slept is testing. This workshop will focus specifically on testing practices and patterns. In this session, we will go over the full testing spectrum from unit to e2e by understanding the tools for each specific case and how to use them. We will review some production stories and popular use cases and, by the end, learn how to build a testing suite to which even your product owners can contribute. 

Here are some of the tools you can expect to learn and use at this workshop:

  • React Testing Library: Let’s deep dive into how the library that made testing fun again works and how we can leverage it for writing unit and integrating tests.
  • Mock Service Worker: Mocking is an essential part of testing, so let’s learn about one of the de facto libraries in the industry and use it to make mocking easier and faster.
  • Vitest: we will learn why it is called the Next-generation testing framework and how we used it to double the speed at which our tests ran.
  • Playwright: E2Es are an essential part of the testing pyramid. We will learn how Playwright works and enables us to write resilient tests. We will also learn about BDD and how to turn our user stories into automated tests.

By the end of this workshop, you should have a complete overview of the testing practices applied in production environments worldwide and be ready to take this knowledge with you and use it everywhere.

Similar Presentations
Cover Photo for Real-World React: The Architectural Playbook for Scalability, Resilience, and Observability (feat. Next.js)

Real-World React: The Architectural Playbook for Scalability, Resilience, and Observability (feat. Next.js)

This workshop dives into the core of building resilient, scalable, production-ready applications with React and Next.js, grounding you in a pragmatic approach to software development. We’ll tackle common web performance pitfalls, showing you how to make impactful optimizations without compromising readability, maintainability, or speed, essential when delivering under tight timelines. You’ll explore resilience patterns that enable your applications to perform reliably under real-world demands along with how to make the right compromises, whether you’re building for early-stage platforms or scaling up to serve millions of global users.

Covering React reconciliation fundamentals, we’ll provide the context needed for structuring large-scale component architectures, alongside best practices for designing components that stay maintainable over time. Through a case study using TanStack Query, you’ll tackle data fetching at scale to ensure optimal app performance with complex data requirements.

Finally, we’ll focus on post-deployment strategies, including setting up observability and monitoring tools to detect issues early. This workshop provides an adaptable playbook for creating robust applications that endure, building a skill set to navigate the evolving problem spaces and needs across different project stages, whether you’re developing from scratch or scaling for global audiences.

Faris Aziz

From Unit to E2Es — A Testing Guide to Sleeping Better at Night

Presentation byDaniel Afonso

We all want to sleep well at night and be fully confident in the code we built. One thing that can contribute to increasing your number of hours slept is testing. This workshop will focus specifically on testing practices and patterns. In this session, we will go over the full testing spectrum from unit to e2e by understanding the tools for each specific case and how to use them. We will review some production stories and popular use cases and, by the end, learn how to build a testing suite to which even your product owners can contribute. 

Here are some of the tools you can expect to learn and use at this workshop:

  • React Testing Library: Let’s deep dive into how the library that made testing fun again works and how we can leverage it for writing unit and integrating tests.
  • Mock Service Worker: Mocking is an essential part of testing, so let’s learn about one of the de facto libraries in the industry and use it to make mocking easier and faster.
  • Vitest: we will learn why it is called the Next-generation testing framework and how we used it to double the speed at which our tests ran.
  • Playwright: E2Es are an essential part of the testing pyramid. We will learn how Playwright works and enables us to write resilient tests. We will also learn about BDD and how to turn our user stories into automated tests.

By the end of this workshop, you should have a complete overview of the testing practices applied in production environments worldwide and be ready to take this knowledge with you and use it everywhere.

Similar Presentations
Cover Photo for Real-World React: The Architectural Playbook for Scalability, Resilience, and Observability (feat. Next.js)

Real-World React: The Architectural Playbook for Scalability, Resilience, and Observability (feat. Next.js)

This workshop dives into the core of building resilient, scalable, production-ready applications with React and Next.js, grounding you in a pragmatic approach to software development. We’ll tackle common web performance pitfalls, showing you how to make impactful optimizations without compromising readability, maintainability, or speed, essential when delivering under tight timelines. You’ll explore resilience patterns that enable your applications to perform reliably under real-world demands along with how to make the right compromises, whether you’re building for early-stage platforms or scaling up to serve millions of global users.

Covering React reconciliation fundamentals, we’ll provide the context needed for structuring large-scale component architectures, alongside best practices for designing components that stay maintainable over time. Through a case study using TanStack Query, you’ll tackle data fetching at scale to ensure optimal app performance with complex data requirements.

Finally, we’ll focus on post-deployment strategies, including setting up observability and monitoring tools to detect issues early. This workshop provides an adaptable playbook for creating robust applications that endure, building a skill set to navigate the evolving problem spaces and needs across different project stages, whether you’re developing from scratch or scaling for global audiences.

Faris Aziz

Get in touch!

hi@guild.host