public static async Task TestCFQuickStart() { var context = new CFQuickStartStateMachine.Context { ProjectName = "dotstep-starter", SourceCodeDirectory = "dotstep-starter-master", ProjectZipLocation = "https://github.com/paulfryer/dotstep-starter/archive/master.zip" }; var engine = new StateMachineEngine <CFQuickStartStateMachine, CFQuickStartStateMachine.Context>(context); var sm = new CFQuickStartStateMachine(); await engine.Start(); }
public static async Task TestRequired() { var context = new CFQuickStartStateMachine.Context { //ProjectName = "dotstep-starter", SourceCodeDirectory = "dotstep-starter-master", ProjectZipLocation = "https://github.com/paulfryer/dotstep-starter/archive/master.zip" }; var lambda = new ValidateMessage <CFQuickStartStateMachine.Context>(); context = await lambda.Execute(context); }