Ejemplo n.º 1
0
 // 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();
     }
 }
Ejemplo n.º 3
0
        public void DoStuff()
        {
            using (var runner = StorytellerRunner.For <SpecificationSystem>())
            {
                //runner.RunAll(5.Minutes());

                runner.Run("Docs / Advanced LinkTo Transformations");

                runner.OpenResultsInBrowser();
            }
        }
Ejemplo n.º 4
0
        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();
            }
        }
Ejemplo n.º 5
0
        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();
            }
        }
Ejemplo n.º 6
0
        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
        }