integration-testing

Automate end-to-end integration testing of Searchlite CLI and HTTP interfaces.

Updated Dec 20, 2025
One-click install
npx skills add https://github.com/davidkelley/searchlite --skill integration-testing-davidkelley
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: integration-testing
Source: https://github.com/davidkelley/searchlite/tree/main/.codex/skills/integration-testing
Command: npx skills add https://github.com/davidkelley/searchlite --skill integration-testing-davidkelley

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides teams in validating Searchlite end-to-end across CLI and HTTP interfaces by executing real workflows on real or in-memory indexes and asserting observable outcomes.

Core Features & Use Cases

  • End-to-end testing across CLI and HTTP surfaces (init/add/commit/search/inspect/compact) to ensure lifecycle correctness.
  • Realistic test harness that creates real indexes, drives public interfaces, and validates hits, counts, errors, and lifecycle invariants.
  • Detailed integration scenarios for both HTTP and CLI paths, including error handling and deterministic fixtures for reproducibility.

Quick Start

Use the integration-testing skill to craft a reproducible test harness that spins up a Searchlite instance, issues CLI or HTTP commands, and asserts expected stats and search results.

Frequently Asked Questions about integration-testing

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

FAQPage Schema
How do I automate end-to-end integration testing for CLI and HTTP interfaces?

End-to-end integration testing for CLI and HTTP interfaces is automated by spinning up a real or in-memory Searchlite instance, issuing commands, and asserting observable outcomes like search hits and lifecycle invariants. This Skill orchestrates that reproducible test harness.

What is the best way to validate search results and lifecycle invariants across real indexes?

Validating search results and lifecycle invariants requires driving public interfaces with deterministic fixtures. This Skill guides teams in executing real workflows on real indexes to assert expected stats, error handling, and hit counts reliably.

Can I test both CLI commands and HTTP responses within the same integration test harness?

Yes, you can test both CLI commands and HTTP responses within the same integration test harness. This Skill supports driving real servers or CLI commands and asserting HTTP responses, search results, and lifecycle invariants simultaneously.

How do I ensure reproducibility when running integration tests for init, add, commit, and search flows?

Reproducibility in integration testing is ensured by using deterministic fixtures. This Skill applies these fixtures to validate init, add, commit, search, inspect, and compact flows consistently across real or in-memory indexes.

Does integration testing work with in-memory indexes or do I need a real server running?

Integration testing works with both in-memory indexes and real servers. This Skill supports driving real servers or CLI commands and validating observable outcomes without strictly requiring a live external server environment.