Cake.DevicesXunitTestReceiver 1.0.1

Cake Build addin for receiving test results from Devices.Xunit test hosts.

Install-Package Cake.DevicesXunitTestReceiver -Version 1.0.1
dotnet add package Cake.DevicesXunitTestReceiver --version 1.0.1
paket add Cake.DevicesXunitTestReceiver --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Cake.DevicesXunitTestReceiver

Cake Build addin for receiving test results from Devices.Xunit test hosts.

Installation

Add the following reference to your cake build script:

#addin "Cake.DevicesXunitTestReceiver"

Usage

var allTestsPassed = LaunchEmbeddedTestsReceiver(port:7777);

await LaunchAndRunTestsOnDevice();

if (!await allTestsPassed)
{
    const string message = "Not all tests passed :(";
    Error(message);

    //We return a bad code so jenkins knows the tests/job failed
    throw new Exception(message);
}
Information("All tests passed :)");

Cake.DevicesXunitTestReceiver

Cake Build addin for receiving test results from Devices.Xunit test hosts.

Installation

Add the following reference to your cake build script:

#addin "Cake.DevicesXunitTestReceiver"

Usage

var allTestsPassed = LaunchEmbeddedTestsReceiver(port:7777);

await LaunchAndRunTestsOnDevice();

if (!await allTestsPassed)
{
    const string message = "Not all tests passed :(";
    Error(message);

    //We return a bad code so jenkins knows the tests/job failed
    throw new Exception(message);
}
Information("All tests passed :)");

Release Notes

- Fixed crash after tests received.

Version History

Version Downloads Last updated
1.0.1 (current version) 207 1/10/2018
1.0.0 64 1/9/2018