예제 #1
0
        public void ConfigureRun(TestRunConfig run)
        {
            run.PageTestingDefault();

            run.BeforeAll <IRequiresAuthenticatedUser>(_ =>
            {
                _.MakeSavingLogin <User>();
            });
        }
예제 #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)
예제 #3
0
 public void ConfigureRun(TestRunConfig run)
 {
     run.PageTestingDefault();
 }
예제 #4
0
        public void ConfigureRun(TestRunConfig run)
        {
            run.PageTestingDefault();

            run.UserfyRequires <User>();
        }