Make it possible to pass command line arguments in test.

Made a new argument to do thumbnails as orthographic
Significantly speeds up tests
This commit is contained in:
Lars Brubaker 2016-12-01 18:03:40 -08:00
parent b1b807d674
commit 7662e45586
4 changed files with 30 additions and 21 deletions

View file

@ -401,7 +401,7 @@ namespace MatterHackers.MatterControl.Tests.Automation
defaultTestImages = TestContext.CurrentContext.ResolveProjectPath(4, "Tests", "TestData", "TestImages");
}
MatterControlApplication matterControlWindow = MatterControlApplication.CreateInstance(overrideWidth, overrideHeight);
MatterControlApplication matterControlWindow = MatterControlApplication.CreateInstance(new string[] { "ORTHOGRAPHIC_THUMBNAILS" }, overrideWidth, overrideHeight);
var config = TestAutomationConfig.Load();