Exemple #1
0
        public void ConfigureRun(TestRunConfig run)
        {
            // This run configurations only works for tests that inherits MiruTest
            // It includes FeatureTest, PageTest and all other Miru's types of tests

            run.TestingDefault();

            run.UserfyRequiresAdmin <User>();
        }
Exemple #2
0
        public void ConfigureRun(TestRunConfig run)
        {
            run.PageTestingDefault();

            run.UserfyRequiresAdmin <User>();

            run.BeforeSuite(_ =>
            {
                // configure some default returns for mocks
                _.Get <IPayPau>()
                .Charge(default, default)