Writing Unit Tests

Guides writing and debugging unit tests for the SCT framework using pytest conventions. Use when creating new test files in unit_tests/, adding test cases, mocking external services, setting up fixtures, or reviewing test coverage. Covers network-blocking patterns, FakeRemoter, moto for AWS mocking, monkeypatch, and common pitfalls.

scylladb ed32e70 4 files · 38.6 KB Updated

File contents

scylladb/scylla-cluster-tests/tree/main/skills/writing-unit-tests commit ed32e70353

Frequently asked questions

npx skillmds@latest add scylladb/writing-unit-tests