Files
Umbraco-CMS/src/Umbraco.Tests/Testing/UmbracoTestOptions.cs
2018-12-19 16:44:35 +01:00

40 lines
1019 B
C#

namespace Umbraco.Tests.Testing
{
public static class UmbracoTestOptions
{
public enum Logger
{
// pure mocks
Mock,
// Serilog for tests
Serilog,
// console logger
Console
}
public enum Database
{
// no database
None,
// new empty database file for the entire feature
NewEmptyPerFixture,
// new empty database file per test
NewEmptyPerTest,
// new database file with schema for the entire feature
NewSchemaPerFixture,
// new database file with schema per test
NewSchemaPerTest
}
public enum TypeLoader
{
// the default, global type loader for tests
Default,
// create one type loader for the feature
PerFixture,
// create one type loader for each test
PerTest
}
}
}