public void TestRunnerExtensionWithoutParametersAddedToCommandLine() { TestRunnerExtensionCommandLineArgument arg = new TestRunnerExtensionCommandLineArgument("MyNamespace.MyTestExtension,MyTestRunner.dll"); GallioEchoConsoleApplication app = new GallioEchoConsoleApplication(selectedTests); app.TestRunnerExtensions.Add(arg); string expectedArgs = "/rv:v4.0.30319 " + "/re:\"MyNamespace.MyTestExtension,MyTestRunner.dll\" " + "\"c:\\projects\\MyTests\\bin\\Debug\\MyTests.dll\""; Assert.AreEqual(expectedArgs, app.GetArguments()); }
public void TestRunnerExtensionWithoutParametersAddedToCommandLine() { TestRunnerExtensionCommandLineArgument arg = new TestRunnerExtensionCommandLineArgument("MyNamespace.MyTestExtension,MyTestRunner.dll"); GallioEchoConsoleApplication app = new GallioEchoConsoleApplication(selectedTests); app.TestRunnerExtensions.Add(arg); string expectedArgs = "/rv:v4.0.30319 " + "/re:\"MyNamespace.MyTestExtension,MyTestRunner.dll\" " + "\"c:\\projects\\MyTests\\bin\\Debug\\MyTests.dll\""; Assert.AreEqual(expectedArgs, app.GetArguments()); }