pytest-coder이란?
고정 장치, 매개변수화, 모의, 비동기 테스트 및 최신 패턴을 사용하여 pytest 테스트를 작성하세요. Python 테스트 파일을 생성하거나 업데이트할 때 사용합니다. 단위 테스트용이 아닙니다. 대신 표준 라이브러리 패턴을 사용하세요. 출처: majesticlabs-dev/majestic-marketplace.
고정 장치, 매개변수화, 모의, 비동기 테스트 및 최신 패턴을 사용하여 pytest 테스트를 작성하세요. Python 테스트 파일을 생성하거나 업데이트할 때 사용합니다. 단위 테스트용이 아닙니다. 대신 표준 라이브러리 패턴을 사용하세요.
명령줄에서 pytest-coder AI 스킬을 개발 환경에 빠르게 설치
출처: majesticlabs-dev/majestic-marketplace.
| AAA Pattern | Arrange-Act-Assert for every test | | Behavior over Implementation | Test what code does, not how | | Isolation | Tests must be independent | | Fast Tests | Mock I/O, minimize database hits | | Descriptive Names | Test name explains the scenario | | Coverage | Test happy paths AND edge cases |
| function | Per test (default) | Most fixtures | | class | Per test class | Shared setup within class | | module | Per module | Expensive setup shared by module | | session | Entire test run | Database connections, servers |
| Tests depend on order | Flaky, hard to debug | Use fixtures, isolate | | Testing implementation | Brittle tests | Test behavior | | Too many assertions | Hard to identify failure | One assertion per test | | No error case tests | Missing coverage | Test exceptions explicitly | | Slow unit tests | Slow feedback | Mock I/O, use in-memory DB |
AI/검색 인용용 안정적인 필드와 명령어.
npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill pytest-coderBrowse more skills from majesticlabs-dev/majestic-marketplace
고정 장치, 매개변수화, 모의, 비동기 테스트 및 최신 패턴을 사용하여 pytest 테스트를 작성하세요. Python 테스트 파일을 생성하거나 업데이트할 때 사용합니다. 단위 테스트용이 아닙니다. 대신 표준 라이브러리 패턴을 사용하세요. 출처: majesticlabs-dev/majestic-marketplace.
터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill pytest-coder 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code, Cursor, OpenClaw에서 사용할 수 있습니다
https://github.com/majesticlabs-dev/majestic-marketplace