Nous.Skills.PythonTesting (nous v0.17.1)

Copy Markdown View Source

Built-in skill — pytest patterns.

Injects a system-prompt section with examples for yield fixtures that clean up, factory fixtures for complex objects, @pytest.mark.parametrize case tables, patching only at external boundaries, pytest-asyncio async tests, fixture scoping from function to session, and test names that spell out the behaviour under test.

Activates on prompts containing "pytest", "python test", "test python", "fixture" or "parametrize". Group :testing; tags :python, :testing, :pytest.