tdc-testing

Automate pytest and vitest test suite creation and execution for The Dreamer's Cave.

Updated Jan 8, 2026
One-click install
npx skills add https://github.com/Alex-65/tdcweb --skill tdc-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdc-testing
Source: https://github.com/Alex-65/tdcweb/tree/main/.claude/skills/tdc-testing
Command: npx skills add https://github.com/Alex-65/tdcweb --skill tdc-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill standardizes and automates testing for The Dreamer's Cave project, enabling reliable backend and frontend quality through structured pytest and vitest workflows.

Core Features & Use Cases

  • Automated backend tests: unit and integration tests for Flask services using pytest, fixtures, and database transactions.
  • Frontend tests: component and UI tests using vitest for Vue.js, ensuring visual and behavioral correctness.
  • Test coverage and mocking: fixtures, mocks, and coverage reports to verify code paths and simulate external services.

Quick Start

Use tdc-testing to scaffold and run test suites for both backend and frontend, execute tests locally, and review coverage reports.

Frequently Asked Questions about tdc-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate backend testing for a Flask project using pytest?

Automate backend testing by using pytest to scaffold unit and integration tests for Flask services, leveraging fixtures and database transactions to ensure isolated, reliable execution and structured coverage reporting.

What's the best way to run frontend component tests with vitest and Vue.js?

Run frontend component tests by executing vitest-based suites designed for Vue.js, applying mocks and fixtures to simulate external dependencies and verify visual and behavioral correctness across UI components.

Do I need existing configuration files to set up pytest and vitest workflows?

Yes, implementing and running tests requires existing project configuration files such as pytest.ini, conftest.py, vitest.config.js, and vitest.setup.js, along with a structured tests directory to operate effectively.

How does mocking and test coverage work for full-stack testing scenarios?

Mocking and coverage work by applying fixtures and mocks to simulate external services, generating coverage reports that verify executed code paths across both pytest backend and vitest frontend test suites.

Why are my pytest fixtures not isolating database transactions in backend tests?

Backend tests use pytest fixtures and database transactions to isolate execution; if isolation fails, ensure your conftest.py properly configures transaction rollback and that the structured tests directory aligns with project configuration.