£1,060.17 – £1,379.67

Frontend Testing in Typescript

Actions and Detail Panel

From £1,060.17

Event Information

Share this event

Date and time

Location

Location

Online event

Event description
Frontend Testing in Typescript (London Edition)

About this event

About This Event

Welcome to “frontend testing in typescript”, in this 5-day (4h/day) workshop we will explore a handful of techniques to test frontend applications using pure typescript in combination with jest, testing-library and cypress, we will primarily use react apps as examples but the techniques are generally usable with any other framework.

Regardless of the environment or the language, you are developing in testable code can be described by the sentence “program to an interface, not to a concrete implementation”.

In fact, every time we program-to an interface we can provide multiple implementations of the same contract (the “interface”) and this property comes in handy when we write our tests.

At the architecture level, testable applications tend to look like an onion, where each layer glues together functionalities from outer layers and provides functionalities to inner layers up to the very core of the app.

In the front-end, this concept can be viewed as the separation between UI and business logic, and separation between business logic and integration logic.

In react we will make use of pure functional components to represent the view layer and we will make utilities around the context API to carry business logic and integration logic to our components.

In the tests we will see how to test each component individually from the core UI up to the integration with the external world, we will discuss what properties to assert on each layer and we will see how to use code coverage tools to better understand the branching of our code and to spot what needs further testing.

Who is it for

This course is for Typescript developers who are eager to learn how to build modern, robust, and testable front-end applications.

Prerequisites

Good working knowledge of Typescript.

Topics

  • General introduction to testing
  • Testing in the context of Front-End applications
  • Unit Testing
  • Test Doubles
  • Integration Testing
  • End-to-End Testing
  • Design code with Testing in mind.

Organization

The workshop will be remote via Zoom.

Community

Don't forget to join our Discord community: https://discord.com/invite/drVHpNgqDu

Share with friends

Date and time

Location

Online event

{ _('Organizer Image')}

Organiser Ziverge Inc.

Organiser of Frontend Testing in Typescript

Brilliant solutions for innovative companies

Save This Event

Event Saved