Category · 6 articles

Testing

Articles in the category Testing.

Login at Supabase via REST API in Playwright E2E Test Image

Login at Supabase via REST API in Playwright E2E Test

Learn how to login a user via the Supabase REST API in a Playwright end-to-end test and test authenticated pages.
Use Nitro as Mock Server Image

Use Nitro as Mock Server

Nitro is a sever toolkit that allows you to create web servers with everything you need and deploy them wherever you prefer. It is used in Nuxt 3 to power the server-side part of your Nuxt applications. In this article, I will show you can use Nitro as a mock server for your frontend development.
Vue Tip: Test Vue Components Using Vue Testing Library Image

Vue Tip: Test Vue Components Using Vue Testing Library

Vue Testing Library is my preferred Vue.js testing library that encourages good testing practices.
Property Based Testing With Typescript Image

Property Based Testing With Typescript

In my current project my colleague Michael Seifert introduced property based testing in our Python codebase. It was the first time I heard about it and it sounded fascinating, so I wanted to also implement it in our frontend code based on Vue.js with Jest as testing framework and TypeScript as programming language.
How To Easily Write And Debug RxJS Marble Tests Image

How To Easily Write And Debug RxJS Marble Tests

End of 2018, I wrote an article about how I write marble tests for RxJS observables in Angular. The content is still valid, but I recently found a new library that I like and makes debugging marble tests easier.
How I Write Marble Tests For RxJS Observables In Angular Image

How I Write Marble Tests For RxJS Observables In Angular

I am a passionate Reactive Extensions user and mostly use them in RxJS, which is integrated into the Angular framework.