Skip to content

Installation

Prerequisites

Requirement Details
.NET SDK Version 10.0
NuGet feed A global NuGet.Config file configured with the correct nuget feed
Allure CLI Optional, for viewing reports locally

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 packages your project needs. At minimum, you need QaaS.Runner; the Common libraries are optional Plugins.

<ItemGroup>
  <PackageReference Include="QaaS.Runner" Version="x.x.x" />
  <PackageReference Include="QaaS.Common.Assertions" Version="x.x.x" />
  <PackageReference Include="QaaS.Common.Generators" Version="x.x.x" />
  <PackageReference Include="QaaS.Common.Probes" Version="x.x.x" />
</ItemGroup>
dotnet add package QaaS.Runner
dotnet add package QaaS.Common.Assertions
dotnet add package QaaS.Common.Generators
dotnet add package QaaS.Common.Probes

Version compatibility

All Common packages must share the same QaaS.Framework.SDK version, or a compatible newer minor version, as the QaaS.Runner package you reference.

QaaS.Common.Assertions, QaaS.Common.Generators, and QaaS.Common.Probes are the packaged hook libraries used most often in Runner projects.

Project Template

Use QaaS.Runner.Template when you want a ready-to-run runner repo instead of wiring packages by hand.

dotnet new install QaaS.Runner.Template
dotnet new qaas-runner -n MyServiceTests

The generated repo includes:

  • NuGet.config pointing at: https://api.nuget.org/v3/index.json
  • QaaS.Runner with Version="x.x.x" (set a concrete package version for your project)
  • a minimal valid test.qaas.yaml
  • a Rider launch profile for run test.qaas.yaml

If you use Artifactory or another private feed, update the generated NuGet.config before the first restore.

Allure CLI

The Allure CLI installation instructions are available Here.