Installation¶
Prerequisites¶
| Requirement | Details |
|---|---|
| .NET SDK | Version 10.0 |
| NuGet feed | A global NuGet.Config file configured with the correct nuget feed |
| IDE setup | Recommended for YAML schema validation and completion |
Global NuGet.Config¶
Add the relevant package source to your global NuGet.Config file, usually ~/.nuget/NuGet/NuGet.Config.
<configuration>
<packageSources>
<clear />
<add key="nuget_feed" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>
Packages¶
Add the package to your project:
QaaS.Common.Generators is optional in general, but it is used by the quick-start examples on this site. QaaS.Common.Processors is also optional, but install it when you want packaged reusable processors instead of only project-local processor classes.
Project Template¶
Use QaaS.Mocker.Template when you want a ready-to-run mocker repo instead of wiring packages by hand.
The generated repo includes:
NuGet.configpointing at:https://api.nuget.org/v3/index.jsonQaaS.MockerwithVersion="x.x.x"(set a concrete package version for your project)- a minimal
/healthmock underServers Dockerfileand generated GitHub Actions CI
If you use Artifactory or another private feed, update the generated NuGet.config before the first restore.
IDE Setup¶
Use the dedicated IDE Setup page for the Mocker-specific JSON schema and editor mappings.