Test Svelte Component Using Vitest & Playwright

This page summarizes the projects mentioned and recommended in the original post on dev.to

SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.
surveyjs.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. vitest

    Next generation testing framework powered by Vite.

    I haven't tried this combination in my projects, but you can check the example from the Vitest GitHub repo: Use Playwright with Vitest as test runner

  2. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Add the SurveyJS white-label form builder to your JavaScript app (React/Angular/Vue3). Build complex JSON forms without coding. Fully customizable, works with any backend, perfect for data-heavy apps. Learn more.

    SurveyJS logo
  3. svelte-component-test-demo

    Demo of Svelte component test using Vitest & Playwright

    In this article, I'll focus on the basic setup of Vitest & Playwright to test our Svelte components. You can check the demo repo here: Svelte Component Test Demo Repo

  4. uvu

    uvu is an extremely fast and lightweight test runner for Node.js and the browser

    Vitest: A Vite-native unit test framework. (alternative: Jest, uvu)

  5. svelte-add-vitest

    Discontinued Svelte adder for Vitest

    You can follow the below steps to setup Vitest or use the Svelte Adder: svelte-add-vitest

  6. SvelteKit

    web development, streamlined (by sveltejs)

    sveltejs/kit: Vitest for unit testing #5285

  7. Playwright

    Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

    Playwright: A framework for Web Testing and Automation. (alternative: Cypress)

  8. jest

    Delightful JavaScript Testing.

    Vitest: A Vite-native unit test framework. (alternative: Jest, uvu)

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • In-Depth guide for TypeScript Library

    4 projects | dev.to | 13 Nov 2023
  • Using Playwright Test to run Unit Tests

    5 projects | /r/javascript | 20 Jun 2022
  • Component Testing in Svelte

    6 projects | dev.to | 19 Feb 2022
  • Creating a Chai like assertion library using proxies

    8 projects | dev.to | 19 Feb 2022
  • Configure aliases once and for all with Yarn's link protocol

    4 projects | dev.to | 24 Oct 2021

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?