Toolverse
All skills

cli-e2e-testing

by dotnet

Guide for writing Aspire CLI end-to-end tests using Hex1b terminal automation. Use this when asked to create, modify, or debug CLI E2E tests.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
dotnet
Category
Testing
Views
2

About this skill

Guide for writing Aspire CLI end-to-end tests using Hex1b terminal automation. Use this when asked to create, modify, or debug CLI E2E tests.

How to use

  1. Zlokalizuj katalog testów w tests/Aspire.Cli.EndToEnd.Tests/ w repozytorium Aspire. Umiejętność dostarcza strukturę i klasy pomocnicze do tego katalogu.
  2. Zapoznaj się z głównymi komponentami: Hex1bTerminal do automatyzacji terminala, Hex1bTerminalAutomator do asynchronicznego sterowania (preferowana metoda w nowych testach) oraz CliE2EAutomatorHelpers zawierające metody rozszerzające specyficzne dla CLI.
  3. Utwórz nowy test, który najpierw przygotowuje środowisko Docker za pomocą PrepareDockerEnvironmentAsync, a następnie instaluje Aspire CLI w kontenerze za pomocą InstallAspireCliInDockerAsync.
  4. Napisz scenariusz testu używając Hex1bTerminalAutomator do wysyłania poleceń do terminala i czekania na odpowiedzi. Wykorzystaj metody pomocnicze takie jak WaitForSuccessPromptAsync i AspireNewAsync do obsługi typowych operacji.
  5. Zastosuj CellPatternSearcher do wyszukiwania wzorców w zawartości terminala oraz SequenceCounter do śledzenia liczby wykonanych poleceń dla niezawodnego wykrywania promptu.
  6. Uruchom test w środowisku Linux (testy automatycznie pomijają się na Windows i macOS w CI). Nagrania asciinema są generowane w CI w celu debugowania.

Related skills

go-dev-guidelines

by jumppad-labs

This skill should be used when writing, refactoring, or testing Go code. It provides idiomatic Go development patterns, TDD-based workflows, project structure conventions, and testing best practices using testify/require and mockery. Activate this skill when creating new Go

Testing
1190

lean4-theorem-proving

by cameronfreer

Use when developing Lean 4 proofs, facing type class synthesis errors, managing sorries/axioms, or searching mathlib - provides build-first workflow, instance management patterns (haveI/letI), and domain-specific tactics

Testing
9108

differential-review

by trailofbits

Performs security-focused differential review of code changes (PRs, commits, diffs). Adapts analysis depth to codebase size, uses git history for context, calculates blast radius, checks test coverage, and generates comprehensive markdown reports. Automatically detects and

Testing
2510

polymarket-trader

by openclaw

Query Polymarket prediction markets - trending events, crypto, politics, sports, and search

Testing
14142

ad-creative

by alirezarezvani

When the user needs to generate, iterate, or scale ad creative for paid advertising. Use when they say 'write ad copy,' 'generate headlines,' 'create ad variations,' 'bulk creative,' 'iterate on ads,' 'ad copy validation,' 'RSA headlines,' 'Meta ad copy,' 'LinkedIn ad,' or

Testing
2863

langchain

by zechenzhangAGI

Framework for building LLM-powered applications with agents, chains, and RAG. Supports multiple providers (OpenAI, Anthropic, Google), 500+ integrations, ReAct agents, tool calling, memory management, and vector store retrieval. Use for building chatbots, question-answering

Testing
21123