Skip to main content

Testing Tech Stack and Tooling

Next.js at Schwab has been implemented in TypeScript utilizing a TurboRepo based monorepo structure.

Our Jest based tech stack has been fine-tuned to support this structure.

Below you will find a list of tools that make up our testing tech stack. This tech stack is lightweight by design yet extremely powerful!

Our minimalistic approach to tooling is designed to simplify unit test implementation and minimize onboarding times for new developers.

Jest Logo Orange
Jest
An approachable feature-rich JavaScript testing framework developed by Facebook

React Testing Library
React Testing Library
A light-weight solution that provides involve querying for nodes

TS Jest
TS Jest
A TypeScript preprocessor with source map support for projects written in TypeScript

Axe Core
Jest Axe / Axe Core React
Custom Jest matchers for testing accessibility

SWC
SWC
An extensible Rust-based platform implemented for use in compilation and bundling

Jest Extended
Jest Extended
Adds additional matchers to Jest making it simpler to test everything

JSX A11y
JSX A11y
Static AST checker for accessibility rules on JSX elements

ESLint Jest DOM
ESLint Jest Dom
ESLint plugin to follow best practices and anticipate common mistakes when writing tests with jest-dom

Faker
Faker
Generate massive amounts of fake (but realistic) data for testing and development