fabrcore-testing

Test FabrCore agents and libraries with MSTest mock and live LLM modes.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/vulcan365/FabrCore --skill fabrcore-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fabrcore-testing
Source: https://github.com/vulcan365/FabrCore/tree/main/docs/skills/fabrcore-testing
Command: npx skills add https://github.com/vulcan365/FabrCore --skill fabrcore-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

Tests FabrCore agents and libraries with a lightweight in-memory host and deterministic mock/live LLM modes.

Core Features & Use Cases

  • In-memory test harness: TestFabrCoreAgentHost, FakeChatClient, TestChatClientService, and FabrCoreTestHarness.
  • Mock mode for unit tests with deterministic responses; Live mode for integration tests via fabrcore.json.
  • MSTest patterns and extensible evaluation workflow for LLM responses.

Quick Start

Create a FabrCore tests using FabrCoreTestHarness, configure a mock IChatClient for deterministic tests, or a live agent harness from fabrcore.json, then run dotnet test.

Frequently Asked Questions about fabrcore-testing

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

FAQPage Schema
How do I test FabrCore agents with mock LLM responses?

Use the FabrCoreTestHarness and FakeChatClient to run deterministic in-memory unit tests for FabrCore agents, enforcing initialization and message exchange workflows via MSTest patterns.

What is the best way to run integration tests for FabrCore agents with a live LLM?

Configure a live agent harness from the fabrcore.json file to drive integration tests with real LLM message exchanges, enabling optional live-keyed evaluation and reporting via MSTest patterns.

Can I use MSTest patterns to evaluate LLM responses in a test harness?

Yes, MSTest patterns enforce initialization, message exchange, and an extensible evaluation workflow for LLM responses within the FabrCoreTestHarness for both mock and live modes.

Does the FabrCore testing harness support an in-memory host for unit tests?

Yes, the harness provides TestFabrCoreAgentHost and TestChatClientService as a lightweight in-memory host to execute deterministic mock unit tests for FabrCore agents and libraries.

How do I configure deterministic test responses for a mock LLM in FabrCore?

Configure a mock IChatClient using FakeChatClient within FabrCoreTestHarness to supply deterministic responses for unit testing FabrCore agents without live API dependencies.