Class ExampleRunLog

Assembly: redb.Examples.dll

The run history of the examples: every pass of every example in every run, stored in the results database as
objects under the example's object.

public static class ExampleRunLog

Inheritance

Object→ExampleRunLog

Methods

Build(IEnumerable<(string Platform, ExampleResult Result)>, DateTimeOffset, Guid, bool)

One per stored pass of runs. A skipped result is left out,

public static List<ExampleRunProps> Build(IEnumerable<(string Platform, ExampleResult Result)> runs, DateTimeOffset runAt, Guid runId, bool planner)

SaveAsync(IRedbService, IReadOnlyDictionary<string, RedbObject<ExampleResultProps>>, IEnumerable<(string Platform, ExampleResult Result)>, DateTimeOffset, Guid, bool)

Saves the passes of the run in one batch, each under the result object of its example. The result objects

public static Task SaveAsync(IRedbService resultsDb, IReadOnlyDictionary<string, RedbObject<ExampleResultProps>> resultByKey, IEnumerable<(string Platform, ExampleResult Result)> runs, DateTimeOffset runAt, Guid runId, bool planner)