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
<PackageReference Include="Cake.DevicesXunitTestReceiver" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
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.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.1 2,503 1/10/2018
1.0.0 290 1/9/2018