Skip to content
T

testing

Vitest tests, mocks, coverage and failing-test diagnosis

by lobehubFree

Launch
#1019in 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

F

frontend-testing

Writing or changing Vitest or React Testing Library tests under `web/` or

AI Skills
Launch
V

vitest

Vitest API and config reference (Jest-compatible)

AI Skills
Launch
S

senior-qa

Generates unit tests, integration tests

AI Skills
Launch
V

vitest

Vite-powered unit testing framework

AI Skills
Launch
T

test-master

Generates test files, creates mocking strategies, analyzes code coverage

AI Skills
Launch
M

migrate-to-shoehorn

Migrate test files from `as` type assertions to @total-typescript/shoehorn

AI Skills
Launch

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 frontend-testing, vitest and senior-qa. See all testing alternatives

Developer Stuff

Badges