markhamsquareventures/essentials

testing

How to effectively test the application, always use when writing tests

First seen Jan 24, 2026

Installation

$ npx skills add markhamsquareventures/essentials --skill testing

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from markhamsquareventures/essentials.

npx skills add markhamsquareventures/essentials

Browse all from markhamsquareventures/essentials

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Default branch main
Open issues 1
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,324 B
  • docs SUMMARY.md 85 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 14 installs

SKILL.md

Testing

Instructions

  • All tests must be written using Pest.
  • Tests use Pest PHP with Laravel plugin. Feature tests extend Tests\TestCase with RefreshDatabase trait available (commented out in tests/Pest.php by default).
  • Always start all work using TDD–write tests before writing any code.
  • If you need to verify a feature is working, write or update a Unit / Feature test.
  • You must not remove any tests or test files from the tests directory without approval. These are not temporary or helper files - these are core to the application.
  • Tests should test all of the happy paths, failure paths, and weird paths.
  • Tests live in the tests/Feature and tests/Unit directories.

Running Tests

  • Run the minimal number of tests using an appropriate filter before finalizing code edits.
  • To run all tests: php artisan test.
  • To run all tests in a file: php artisan test tests/Feature/ExampleTest.php.
  • To filter on a particular test name: php artisan test --filter=testName (recommended after making a change to a related file).
  • When the tests relating to your changes are passing, ask the user if they would like to run the entire test suite to ensure everything is still passing.