prowler-cloud/prowler/pytest
Claude Code and agent skill by prowler-cloud/prowler
- community
Checking that the SKILL.md file is still in the repository.
Pytest testing patterns for Python. Trigger: When writing or refactoring pytest tests (fixtures, mocking, parametrize, markers). For Prowler-specific API/SDK testing conventions, also use prowler-test-api or prowler-test-sdk.
Install
npx vskill@latest install prowler-cloud/prowler/pytestSKILL.md
Basic Test Structure
Fixtures
conftest.py
Mocking
Parametrize
Markers
Async Tests
Only mcp_server/ has pytest-asyncio, configured with asyncio_mode = "auto" (no marker needed). The SDK and API test suites do not install it, so @pytest.mark.asyncio does nothing there.
Prowler Test Environment
| Plugin / file | Effect | |
|---|---|---|
pytest-xdist | -n auto runs tests in parallel (used by CI) | |
pytest-randomly | Random test order every run: tests must not depend on each other. Use -p no:randomly to reproduce an ordering bug | |
pytest-env ([tool.pytest_env] in root pyproject.toml) | Sets fake AWS_* credentials for moto/boto3 | |
tests/conftest.py | Autouse fixture that removes attributes tests set on mock.MagicMock and friends at class level | |
api/src/backend/pytest.ini | DJANGO_SETTINGS_MODULE = config.django.testing for the API |
Commands
References
For general pytest documentation, see:
- Official Docs: https://docs.pytest.org/en/stable/
For Prowler SDK testing with provider-specific patterns (moto, MagicMock), see:
- Documentation: references/prowler-testing.md
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/pytest/SKILL.md
Popularity
- Repository stars
- 13,385
- Repository forks
- 2,050
- 7-day trend score
- 48
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 24 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/prowler-cloud/prowler/pytest)