Documentation
Table of Contents

Namespace IntentSharp.Specialist.Testing

Classes

ScriptedSpecialistService

An in-process specialist service for tests. Answers each request from a queue of offers, in order, or from a function of the request; can answer "not yet" a set number of times per request first; recalls a held specialist whose offer brought a provider when it answered that offer itself; and records every request, wait, fit report, retire and recall, as ScriptedProvider records requests. Nothing leaves the process. Thread-safe.

ScriptedSpecialistWait

One wait a ScriptedSpecialistService answered: the ticket, the timeout asked for, and the offer, or null for "not yet".

SpecialistContractKit

The contract kit for specialist service adapters: runs the promises of ISpecialistService against any service and returns the problems it found, for the adapter's own tests. It needs no test framework and no client, and it calls no model. An empty list means the service kept every promise the kit checks.

SpecialistContractScript

What SpecialistContractKit asks a specialist service for, and how long it waits.