writing-integration-tests

Official

Write robust integration tests for SCT.

Authorscylladb
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides comprehensive guidance on writing, debugging, and maintaining integration tests within the SCT framework, ensuring reliable testing against external services.

Core Features & Use Cases

  • Test Marking: Enforces the use of @pytest.mark.integration for proper test execution.
  • Service Dependency Declaration: Guides on how to clearly label external service requirements (Docker, AWS, GCE, Azure, OCI, Kubernetes).
  • Resource Cleanup: Emphasizes the critical need for cleaning up all created resources to prevent leaks and cost overruns.
  • Use Case: You need to write a new test that provisions an EC2 instance on AWS and verifies its configuration. This Skill will guide you through marking the test correctly, handling AWS credentials, and ensuring the instance is terminated after the test.

Quick Start

Ensure all integration tests have the @pytest.mark.integration marker and clearly document their external service dependencies.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: writing-integration-tests
Download link: https://github.com/scylladb/scylla-cluster-tests/archive/main.zip#writing-integration-tests

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.