Catinabox
Intro to Testing and Test Automation in Python
Install / Use
/learn @keeppythonweird/CatinaboxREADME
catinabox - Intro to Testing and Test Automation in Python
Coverage status:
- Master (test stubs only):
- Solutions branch (all tests added):
Accompanies the Intro to Testing and Test Automation in Python slide deck. Aesthetic inspired by @sailorhg.

This repo holds a tutorial which will walk you through adding unit tests, exploring these features of unit testing in general and pytest in particular:
Requirements
- Github accounts
- Python (2.7 or 3.x) with:
- pip
- virtualenv
- Git (either Github for Windows or command-line git)
- Text editor or IDE (e.g. Pycharm)
Tutorial Steps
- Setup and run tests
- Test a simple function
- Create and build a pull request
- Testing incorrect input
- Testing classes with fixtures
- Using mock and patch
- Parameterized tests
- Refactoring for unit testability
Solutions are visible by viewing the solutions branch.

Related Skills
node-connect
352.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
