Tester

Guide for testing djdevx Use when this capability is needed.

tomevault-io Updated

File contents

Testing djdevx

This skill helps you write and run tests for djdevx.

When to use this skill

Use this skill when you need to:

  • Write tests for new features or packages
  • Run tests to validate changes
  • Fix failing tests

Writing tests

  1. Review the tests directory to understand the structure of tests and how they are organized by module.
  2. Refer to existing tests in the relevant directory (e.g., tests/backend/django/packages) to understand the testing patterns used.
  3. Create your test file following the naming convention test_*.py.
  4. Use pytest fixtures and assertions to write clear, maintainable tests.
  5. Ensure tests validate both positive and negative cases.

Running tests

To run all tests locally:

uv run pytest -v

To run specific tests:

uv run pytest -v tests/path/to/test_file.py

To run tests with coverage:

uv run pytest --cov=djdevx tests/

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/siavashoutadi--djdevx--tester commit 99d202daf6

Frequently asked questions

npx skillmds@latest add tomevault-io/tester