Skip to content

pellet/Cake.DevicesXunitTestReceiver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 :)");

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published