test-utils

Vue Test Utils for Vue 3 (by vuejs)

Test-utils Alternatives

Similar projects and alternatives to test-utils

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better test-utils alternative or higher similarity.

test-utils reviews and mentions

Posts with mentions or reviews of test-utils. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-30.
  • Exploring Component Testing in Vue with Playwright
    2 projects | dev.to | 30 Jan 2024
    Unlike Vue Test Utils or Testing Library, the mount() in Playwright does not work the same way. It does not accept a second parameter as additional Vue component options. To pass a prop upon mounting, we will use JSX syntax, as follows:
  • findByText for Vue Test Utils
    2 projects | dev.to | 10 Jun 2023
    When it comes to testing Vue components, Vue Test Utils is the official testing library that provides a rich set of utilities for interacting with and asserting on components in a Vue application. However, just like any library, there are always opportunities for enhancements and additions to further improve the testing experience.
  • Vitest/Vue Test Utils/typescript conflict?
    1 project | /r/vuejs | 8 Dec 2022
    I found this github issue from years ago that explains this is a known issue at the time and includes a workaround, but I'd prefer not to use a workaround. https://github.com/vuejs/test-utils/issues/194
  • Composition API testing, how to mock a method?
    1 project | /r/vuejs | 6 Oct 2022
    Same question https://github.com/vuejs/test-utils/issues/1718
  • Integration testing Vue3 with Pinia
    2 projects | dev.to | 7 Apr 2022
    I was working on a Vue 3 project where I had to write an integration test with vue test utils for a component that relied on Pinia, while at the same time needing to set some initial state on a Pinia store before mounting that component. This caused a problem:
  • How can i unit test serverPrefetch?
    2 projects | /r/vuejs | 27 Jan 2022
    Issue: https://github.com/vuejs/test-utils/issues/1218 SSR package: https://github.com/vuejs/core/tree/main/packages/server-renderer
  • What are some problems with Vue.js?
    2 projects | /r/vuejs | 30 Nov 2021
    spyOn is blocked by https://github.com/vuejs/vue-next/pull/4216. We have a PR for that in Test Utils, once this is merged: https://github.com/vuejs/vue-test-utils-next/pull/811
  • TIL: 2021-09-20 Automatically update package.json dependencies
    2 projects | dev.to | 20 Sep 2021
    This was a tricky one because at a first glance it may seem that I have a typescript problem in project which is technically correct, but actually this is a bug in @vue/test-utils-next library which was introduced in 2.0.0-rc.14 version. Installing 2.0.0-rc.13 or setting skipLibCheck: true in tsconfig.json solves this. For my case I've chosen the first approach.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 1 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic test-utils repo stats
8
979
9.3
4 days ago

vuejs/test-utils is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of test-utils is TypeScript.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com