Пример #1
0
        public static void Main(string[] args)
        {
            if (Debugger.IsAttached)
            {
                SelfHostedRunner.MaxThreadCount = 1;
            }

            SelfHostedRunner.RunAll(Assembly.GetExecutingAssembly());

            if (Debugger.IsAttached)
            {
                Console.WriteLine("Press any key to continue...");
                Console.ReadLine();
            }
        }
Пример #2
0
 public static void Main(string[] args)
 {
     SelfHostedRunner.RunAll(Assembly.GetExecutingAssembly());
 }
Пример #3
0
 public static int Main(string[] args)
 {
     return(SelfHostedRunner.RunAll(typeof(Given_one).Assembly));
 }