Cake.Tools.ReadyAPI.TestRunner

Cake.Tools.ReadyAPI.TestRunner allows for the build time integration of ReadyAPI automated testing.

#addin nuget:?package=Cake.Tools.ReadyAPI.TestRunner&version=1.1.0

dotnet add package Cake.Tools.ReadyAPI.TestRunner --version 1.1.0

<PackageReference Include="Cake.Tools.ReadyAPI.TestRunner" Version="1.1.0" />

Aliases

#addin Cake.Tools.ReadyAPI.TestRunner

If TestRunner.bat is not included in the PATH you will have to provide the location of TestRunner.bat as such Setup(context => { context.Tools.RegisterFile("C:/Program Files/SmartBear/ReadyAPI-3.5.1/bin/testrunner.bat"); });

General

LaunchTestRunner(string, TestRunnerSettings) Run your ReadyAPI functional test(s). var result = LaunchTestRunner ( "your-readyapi-project.xml", new TestRunnerSettings() { EndPoint = "http://localhost", PrintSummaryReport = true } );