Skip to main content

WFD Deployment Library is used to implement deployment tests for the WFD automated deployment console application found in G:\Team Drives\Software\Deployables\API Deployment.

The library contains an IDeployment interface which, when implemented, determines the code the console application will run, The RunTests method should return a boolean value determining if an app is ready to publish. 

Usage

Create a new class library project, the name of the built library needs to begin with WFD.Deployment for the deployment app to recognise the dynamic library. 

A single class is required that implemented the IDeployment interface public class DeploymentTests : IDeployment { public bool RunTests(IConfigurationRoot configuration) { Boolean isPassed = true;

if (1 == 2){
isPassed = false;
}
else{
isPassed = true;
}

return isPassed;

} }

Once the code has been added,copy the build library along with all the code files in  G:\Team Drives\Software\Deployables\API Deployment to the client server.