Skip to content
T

testing

Vitest tests, mocks, coverage and failing-test diagnosis

by lobehubFree

#1020in AI Skills
0In stores

Description

testing is an agent skill from the LobeHub repository with a quick reference for running Vitest tests, writing mocks, measuring coverage and…

Highlights

  • Quick reference for Vitest commands and single-file runs
  • Client database tests with PGlite and server database tests with Postgres
  • Warns against running the full suite of more than 3,000 tests
  • Covers mocks, coverage and failing-test diagnosis

Ratings & Reviews

No ratings yet

Be the first to rate testing.

People also visit

V

vitest

Vitest API and config reference (Jest-compatible)

AI Skills
Get
V

vitest

You MUST use this when configuring, writing, debugging, running, migrating

AI Skills
Get
V

vitest

Vitest fast unit testing framework powered by Vite with Jest-compatible API

AI Skills
Get
T

test-master

Generates test files, creates mocking strategies, analyzes code coverage

AI Skills
Get
S

senior-qa

Generates unit tests, integration tests

AI Skills
Get
V

vitest

Vitest testing framework patterns for test setup, async testing, mocking

AI Skills
Get

testing FAQ

What test runner does it use?

Vitest.

How do I run the server database tests?

Set TEST_SERVER_DB to 1 in the packages/database folder, which runs them against Postgres.

Why shouldn't I run bun run test?

The skill says it runs all of the more than 3,000 tests and takes about ten minutes, so run the files you changed.

How do I install it?

Run npx skills add https://github.com/lobehub/lobehub --skill testing.

Which security audits does it have?

On skills.sh, Gen Agent Trust Hub, Socket and Snyk all pass.

What are the best testing alternatives?

Popular alternatives to testing include vitest, vitest and vitest. See all testing alternatives

Developer Stuff

Badges