Created
April 2, 2015 23:45
-
-
Save danwaters/6e2d171fd70ac2253cdd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var builder = new StringBuilder(); | |
builder.AppendLine("***** Scenario Complete: TIMING INFO BELOW *****"); | |
builder.AppendLine("Completed in " + timing.RunTime.ToString()); | |
var result = await client.GetAsync("api/timingentry?scenarioGuid=" + timing.Guid); | |
if (result.IsSuccessStatusCode) | |
{ | |
var runtime = result.Content.ReadAsAsync<TimeSpan>(); | |
builder.AppendLine("Average local runtime for this scenario is: " + runtime); | |
builder.AppendLine("The most recent local runtime was ..."); | |
} | |
else | |
{ | |
builder.AppendLine("Couldn't get historical local test run data."); | |
} | |
builder.AppendLine("***** END TIMING DATA *****"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment