Added "Slow" category to several fixtures, cutting test time in half for most regression runs.
This commit is contained in:
@@ -22,6 +22,7 @@ using static Umbraco.Tests.Cache.DistributedCache.DistributedCacheTests;
|
||||
namespace Umbraco.Tests.Integration
|
||||
{
|
||||
[TestFixture]
|
||||
[Category("Slow")]
|
||||
[UmbracoTest(Database = UmbracoTestOptions.Database.NewSchemaPerTest)]
|
||||
public class ContentEventsTests : TestWithSomeContentBase
|
||||
{
|
||||
|
||||
@@ -13,6 +13,7 @@ namespace Umbraco.Tests.Scheduling
|
||||
{
|
||||
[TestFixture]
|
||||
[Timeout(30000)]
|
||||
[Category("Slow")]
|
||||
public class BackgroundTaskRunnerTests
|
||||
{
|
||||
private ILogger _logger;
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace Umbraco.Tests.Services
|
||||
/// as well as configuration.
|
||||
/// </summary>
|
||||
[TestFixture]
|
||||
[Category("Slow")]
|
||||
[UmbracoTest(Database = UmbracoTestOptions.Database.NewSchemaPerTest, PublishedRepositoryEvents = true, WithApplication = true)]
|
||||
public class ContentServiceTests : TestWithSomeContentBase
|
||||
{
|
||||
|
||||
@@ -19,6 +19,7 @@ using Umbraco.Tests.Testing;
|
||||
namespace Umbraco.Tests.Services
|
||||
{
|
||||
[TestFixture]
|
||||
[Category("Slow")]
|
||||
[Apartment(ApartmentState.STA)]
|
||||
[UmbracoTest(Database = UmbracoTestOptions.Database.NewSchemaPerTest, PublishedRepositoryEvents = true)]
|
||||
public class ContentTypeServiceTests : TestWithSomeContentBase
|
||||
|
||||
@@ -16,6 +16,7 @@ using LightInject;
|
||||
namespace Umbraco.Tests.Services.Importing
|
||||
{
|
||||
[TestFixture]
|
||||
[Category("Slow")]
|
||||
[Apartment(ApartmentState.STA)]
|
||||
[UmbracoTest(Database = UmbracoTestOptions.Database.NewSchemaPerTest)]
|
||||
public class PackageImportTests : TestWithSomeContentBase
|
||||
|
||||
@@ -24,6 +24,7 @@ using Umbraco.Web.Security.Providers;
|
||||
namespace Umbraco.Tests.Services
|
||||
{
|
||||
[TestFixture]
|
||||
[Category("Slow")]
|
||||
[Apartment(ApartmentState.STA)]
|
||||
[UmbracoTest(Database = UmbracoTestOptions.Database.NewSchemaPerTest, PublishedRepositoryEvents = true, WithApplication = true)]
|
||||
public class MemberServiceTests : TestWithSomeContentBase
|
||||
|
||||
Reference in New Issue
Block a user