subsystem-summary-of-test

Summarize the stellar-core test subsystem, including Catch2, TestAccount, and TxTests utilities.

3.3k|1.1k|Updated Nov 24, 2014
One-click install
npx skills add https://github.com/stellar/stellar-core --skill subsystem-summary-of-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subsystem-summary-of-test
Source: https://github.com/stellar/stellar-core/tree/main/.claude/skills/subsystem-summary-of-test
Command: npx skills add https://github.com/stellar/stellar-core --skill subsystem-summary-of-test

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a concise overview of the testing infrastructure and utilities within the stellar-core project, helping developers understand how tests are structured and executed.

Core Features & Use Cases

  • Test Framework Overview: Explains the Catch2 integration, test configuration, and version testing helpers.
  • Utility Functions: Details helper classes like TestAccount and TxTests for building transactions and managing accounts.
  • DEX and Soroban Testing: Covers specific utilities for testing decentralized exchange offers and Soroban smart contracts.
  • Use Case: A new contributor to stellar-core needs to understand how to write and run tests. They can consult this Skill to quickly grasp the testing framework and available tools.

Quick Start

Read this skill to get a token-efficient summary of the test subsystem.

Frequently Asked Questions about subsystem-summary-of-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does the stellar-core test framework work?

The stellar-core test framework integrates Catch2 to structure and execute tests. It provides configuration, version testing helpers, and transaction building utilities.

What utilities are available for building transactions in stellar-core tests?

Stellar-core tests provide the TxTests helper class for building transactions and the TestAccount class for managing accounts. These utilities streamline transaction construction and account state setup.

How do I test Soroban smart contracts in stellar-core?

Soroban testing in stellar-core utilizes specific testing utilities integrated with the broader test infrastructure to validate contract execution and state transitions.

Can I test decentralized exchange offers using stellar-core test utilities?

Yes, stellar-core includes specific DEX testing utilities. These helpers allow developers to create, manage, and validate decentralized exchange offers within the test environment.

What is fuzzing infrastructure in stellar-core testing?

Fuzzing infrastructure in stellar-core testing provides mechanisms to automate random input generation for robustness validation, helping uncover edge cases and potential crashes in protocol components.

Do I need to understand version testing before contributing to stellar-core?

Understanding version testing helpers is beneficial for stellar-core contributors. It ensures protocol upgrades and backward compatibility are properly validated across different network versions.