Articles by Tag #vitest

Browse our collection of articles on various topics related to IT technologies. Dive in and explore something new!

Testing Vue components with Vitest

Modern front-end development demands robust testing practices to ensure the reliability and...

Learn More 37 4Jan 13

Effective Visual Regression Testing for Developers: Vitest vs Playwright

Learn how to implement visual regression testing in Vue applications using Vitest and Playwright, including snapshot and pixel-to-pixel comparison and their limitations. Perfect for developers aiming to enhance testing quality in dynamic web applications.

Learn More 10 0Oct 30 '24

How to Test Your Node.js & Postgres App Using Drizzle & PGlite

Testing Your Node + Postgres Stack? PGlite ElectricSQL + Drizzle Makes It a Breeze.

Learn More 9 2Aug 2

Recursion in TypeScript (without the tears)

Principal devs hate this one weird trick... Have you felt frustrated by how hard recursion is? If...

Learn More 7 0Mar 21

Vitest + React Testing Library for Remix & React Router v7 (with TypeScript): A Complete Setup Guide

As a frontend developer working with Remix v2 and React Router v7, setting up a testing environment...

Learn More 6 0Mar 17

Exploring Vitest 3.0: The Future of Testing in JavaScript

With the rapid evolution of JavaScript testing frameworks, developers are always looking for tools...

Learn More 4 2Jan 20

How to Test Your Node.js & Postgres App Using Drizzle & PGlite

Testing Your Node + Postgres Stack? PGlite ElectricSQL + Drizzle Makes It a Breeze.

Learn More 4 0Aug 2

Vitest vs. Jest: Choosing The Right Testing Framework

Introduction The importance of selecting an appropriate testing framework cannot be...

Learn More 3 0Sep 8

React+Vitest to write testable components, common problems record.

Hi there, my name is Fupeng Wang. I am a senior full-stack engineer, and author of a 17.5k...

Learn More 2 0Dec 30 '24

A Developer's Guide to Unit Testing Nuxt 3 Server Routes

Testing is a critical part of building robust and reliable applications. While Nuxt 3 makes creating...

Learn More 2 0Jul 3

Why Testing Shouldn’t Be an Afterthought: Key Principles for Effective Testing

Testing is one of the most underrated practices in software development. While developers understand...

Learn More 2 0Feb 21

Testing RXJS Observables, the easy way

Introduction I really love reactive programing. Especially when working on frontend...

Learn More 2 1Jun 24

Migrating from Jest to Vitest

In this tutorial, we'll guide you through the process of migrating your test suite from Jest to...

Learn More 1 0Feb 17

Comparing Javascript test frameworks: Jest vs Vitest vs Bun

Discover how switching to Bun’s built-in test runner can dramatically speed up your JavaScript and TypeScript test suites. In this post, I compare Jest, Vitest, and Bun using my Ilamy Calendar project, share real benchmark data, and provide a live demo so you can try it yourself.

Learn More 1 0Aug 12

Writing Pinia Store Tests with `$subscribe` in Vue 3

Writing Pinia Tests with $subscribe in Vue 3 This tutorial will guide you through writing...

Learn More 1 0Jan 6

Integration testing tRPC and in memory MySQL database.

Integration Testing with next.js tRPC, kysely and MySQL Integration testing ensures that...

Learn More 1 0May 9

Next.js Testing Guide: Unit and E2E Tests with Vitest & Playwright

Introduction As your web app becomes complex with newly added features, it may be hard to...

Learn More 1 0Feb 3

Mock vs. SpyOn in Vitest with TypeScript: A Guide for Unit and Integration Tests

When to mock dependencies and when to spy on behavior for effective testing. Testing is...

Learn More 1 0Jan 26

Using TestContainers with Vitest

Testing frameworks and utilities have progressed greatly over the past few years. TestContainers make...

Learn More 0 0Feb 18

The one thing Vitest has better support than Jest

TLDR In this post, we explore the limitations of Jest in regards to jsdom-worker and...

Learn More 0 0Apr 22

[Boost]

The one thing Vitest has better support than Jest ...

Learn More 0 0Sep 3

[Boost]

How to Test Your Node.js & Postgres App Using Drizzle &...

Learn More 0 0Aug 5

Adiós Karma, Hola Vitest: El Futuro del Testing en Angular

A lo largo de los años, quienes hemos trabajado estrechamente con Angular hemos presenciado una...

Learn More 0 0Jun 27

Migration from Jest to Vitest: A Real-World Experience with 2900+ Tests

We recently completed a migration from Jest to Vitest in our React/TypeScript project. Here's our...

Learn More 0 0Dec 18 '24