// SAMPLE: StorytellerRunner-with-custom-ISystem public static void Debug() { using (var runner = StorytellerRunner.For <SpecificationSystem>()) { runner.Run("path to the spec"); } }
public static void TryIt() { using (var runner = StorytellerRunner.For <StorytellerSpecsSystem>()) { runner.Run("SerializationExpression Selection / SerializationExpression Selection Rules"); runner.OpenResultsInBrowser(); } }
public void DoStuff() { using (var runner = StorytellerRunner.For <SpecificationSystem>()) { //runner.RunAll(5.Minutes()); runner.Run("Docs / Advanced LinkTo Transformations"); runner.OpenResultsInBrowser(); } }
public static void FindProblems() { using (var runner = StorytellerRunner.For <MartenSystem>()) { var results = runner.Run("Event Store / Async Daemon / Rebuild Projection in a Separate Schema Multiple Times"); Console.WriteLine(results.Counts); //results = runner.Run("Event Store / Async Daemon / Rebuild Projection"); //Console.WriteLine(results.Counts); //runner.OpenResultsInBrowser(); } }
public static void FindProblems() { using (var runner = StorytellerRunner.For <MartenSystem>()) { //var results = runner.Run("Multi Tenancy / Deleting by Id"); //var results = runner.Run("Multi Tenancy / Loading Documents by Id"); var results = runner.Run("Event Store / Async Daemon / Rebuild Projection"); Console.WriteLine(results.Counts); //results = runner.Run("Event Store / Async Daemon / Rebuild Projection"); //Console.WriteLine(results.Counts); runner.OpenResultsInBrowser(); } }
static void Main(string[] args) { if (args[0] == "try") { using (var runner = StorytellerRunner.For <JasperStorytellerHost <MyJasperAppRegistry> >()) { runner.Run("Recording Messages / Try out the diagnostics"); runner.OpenResultsInBrowser(); } return; } // SAMPLE: bootstrapping-storyteller-with-Jasper JasperStorytellerHost.Run <MyJasperAppRegistry>(args); // ENDSAMPLE }