Class ArasNUnitTestBase
Base class for NUnit Aras tests
Namespace: BitAddict.Aras.Test
Assembly: BitAddict.Aras.dll
Syntax
public class ArasNUnitTestBase
Properties
Connection
Aras server connection
Declaration
protected static HttpServerConnection Connection { get; }
Property Value
Type | Description |
---|---|
Aras.IOM.HttpServerConnection |
Innovator
Current Innovator instance, use to talk to aras. Connects to DevelopmentInstance DB
Declaration
protected static Innovator Innovator { get; }
Property Value
Type | Description |
---|---|
Aras.IOM.Innovator |
LogFolder
Folder where logs are stored
Declaration
protected static string LogFolder { get; }
Property Value
Type | Description |
---|---|
System.String |
LoginItem
Item returned by login
Declaration
protected static Item LoginItem { get; }
Property Value
Type | Description |
---|---|
Aras.IOM.Item |
TempItems
Temporary items to be removed at end of test
Declaration
public static List<Item> TempItems { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Aras.IOM.Item> |
Methods
ClassCleanup()
Closes connection
Declaration
[OneTimeTearDown]
public static void ClassCleanup()
Cleanup()
Removes temporary items
Declaration
[TearDown]
public void Cleanup()
OneTimeSetUp()
Connects to Aras test DB
Declaration
[OneTimeSetUp]
public static void OneTimeSetUp()