Show / Hide Table of Contents

Class OvermindAutomationTests

Contains tests related to bot automation with the overmind.

Inheritance
object
OvermindAutomationTests
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.BotBrain.Overmind.Tests
Assembly: BotBrain.Overmind.Tests.dll
Syntax
[TestClass]
public class OvermindAutomationTests

Methods

View Source

TestCompletion(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.

  • View Source
In this article
Back to top Generated by DocFX