Used to start VisualTests from assemblies in an extra AppDomain for the SampleBrowser. Also
used in the ContinuousUpdater to get all tests and start them safely in the Editor.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Extensions AssemblyStarter
Namespace: DeltaEngine.Extensions
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The AssemblyStarter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AssemblyStarter | Initializes a new instance of the AssemblyStarter class |
Methods
Name | Description | |
---|---|---|
Dispose | Releases all resources used by the AssemblyStarter | |
GetTestNames | ||
Start |
Remarks
Examples
[Test, Ignore] public void StartGlobalTimeTest() { using (var starter = new AssemblyStarter("DeltaEngine.Tests.dll", false)) starter.Start("GlobalTimeTests", "CalculateFpsWithStopwatch"); }
[Test, Ignore] public void FindAllDeltaEngineTests() { using (var starter = new AssemblyStarter("DeltaEngine.Tests.dll", false)) foreach (var test in starter.GetTestNames()) Console.WriteLine(test); }
[Test, Ignore] public void FindAllGraphicsTests() { const string TestAssemblyFilename = @"c:\code\DeltaEngine\Graphics\Tests\bin\Debug\DeltaEngine.Graphics.Tests.dll"; using (var starter = new AssemblyStarter(TestAssemblyFilename, false)) foreach (var test in starter.GetTestNames()) Console.WriteLine(test); }
See Also