Class OvermindAutomationTests
Contains tests related to bot automation with the overmind.
Inherited Members
Namespace: Microsoft.XboxStudios.BotBrain.Overmind.Tests
Assembly: BotBrain.Overmind.Tests.dll
Syntax
[TestClass]
public class OvermindAutomationTests
Methods
View SourceTestCompletion(string, int)
Test that the overmind can run its scenarios to completion.
Declaration
[TestMethod]
[DataRow(new object?[] { "MetaSimpleSingle", 1 })]
[DataRow(new object?[] { "MetaSimpleMultiple", 2 })]
[DataRow(new object?[] { "MetaSequential", 1 })]
[DataRow(new object?[] { "MetaSequential", 2 })]
[DataRow(new object?[] { "MetaConcurrent", 1 })]
[DataRow(new object?[] { "MetaConcurrent", 2 })]
[DataRow(new object?[] { "MetaSimpleCrash", 2 })]
[DataRow(new object?[] { "MetaConcurrentCrash", 1 })]
[DataRow(new object?[] { "MetaConcurrentCrash", 2 })]
public Task TestCompletion(string brainName, int numBots)
Parameters
| Type | Name | Description |
|---|---|---|
| string | brainName | The brain name. |
| int | numBots | The number of bots to run. |
Returns
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous unit test. |