C# (CSharp) NUnitLite AutoRun - 5 exemples trouvés. Ce sont les exemples réels les mieux notés de NUnitLite.AutoRun extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
The AutoRun class is used by executable test assemblies to control their own execution. Call it from your executable test like this: new AutoRun().Execute(args); The arguments can be those passed into your exe or constructed for the purpose in your code. If the tests are in a dll, you can write a stub executable that runs them like this: new Autorun().Execute(testAssembly, args); When running tests compiled against the portable framework, the methods above are not available. Run your tests like this: new AutoRun().Execute(testAssembly, args, output, input); Where output is an ExtendedTextWriter (normally a ColorConsoleWriter) and input is usually Console.In and is used by the --wait option.