Test Cotton Components

Guide AI agents on testing Django Cotton components using django-cotton-bs5 pytest fixtures. Covers when to use cotton_render vs cotton_render_soup vs cotton_render_string vs cotton_render_string_soup, best practices for component testing, DOM assertions, context handling, and multi-component testing patterns. Use when writing or reviewing Cotton component tests.

diegosouzapw Updated 54 repo stars

File contents

diegosouzapw/awesome-omni-skill/tree/main/skills/frontend/test-cotton-components commit 0cff323f84

Frequently asked questions

npx skillmds@latest add diegosouzapw/test-cotton-components