# Tests

> Docker Backend Tests Skill

- Skill: `leonj1/tests` (Agent Skill)
- Install (CLI): `npx skillmds@latest add leonj1/tests`
- Raw SKILL.md: https://api.skillmd.com/api/skills/leonj1/tests/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: leonj1 (https://skillmd.com/u/leonj1)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/leonj1/tests

---

# Docker Backend Tests Skill

## Description
Backend project tests must run within a Docker container defined by a Dockerfile.backend.tests that includes all required dependencies.

## Requirements
- A `Dockerfile.backend.tests` must exist in the backend project root
- The Dockerfile must include all dependencies needed to run the backend tests
- The Docker image must build successfully

## Validation
Run the following command to validate the Dockerfile:

```bash
docker build -f Dockerfile.backend.tests -t backend-tests .
```

A successful build (exit code 0) indicates the Dockerfile is valid and complete.

