示例#1
0
        public void will_record_run_time()
        {
            BaseRunner runner = new RandomTimeRunner();
            runner.Run();

            runner.TimeTaken.TotalMilliseconds.Should().Be.GreaterThan(0);
        }
示例#2
0
        public void will_return_default_name_same_as_class_name()
        {
            BaseRunner runner = new RandomTimeRunner();

            runner.RunnerName.Should().Be.EqualTo(runner.GetType().Name);
        }