Skip to content

aquality-automation/aquality-tracking-integrations-dotnet

Repository files navigation

Quality Gate NuGet

Aquality Tracking .NET Integrations

The repository contains adaptors for .NET test frameworks.

How to use

  1. Add NuGet package according to the selected test framework (see below).
  2. Add aqualityTracking.json with corresponding values to the Resources folder. Set Build Action: None and Copy to Output Directory: Copy always.

You are able to override these values from CI build via environment variables:

    aquality.enabled={true/false} 
    aquality.host={aquality_tracking_address}
    aquality.token={api_token}
    aquality.projectId={project_id}
    aquality.executor={name_of_executor}
    aquality.suiteName={test_suite_name} 
    aquality.buildName={build_name} 
    aquality.environment={execution_env} 
    aquality.ciBuild={link_to_ci_build} 
    aquality.debug={true/false}

SpecFlow NuGet

Currently supports SpecFlow 3.1.x.

Install AqualityTracking.SpecFlowPlugin NuGet package.

Add the following stepDefinition assembly to specflow.json.

"stepAssemblies": [
    { "assembly": "AqualityTracking.SpecFlowPlugin" }
]

License

Library's source code is made available under the Apache 2.0 license.