V10/feature/pipeline test filters (#14766)

* Add configuration/code to not run certain tests based on variables/release builds

* Applied longrunning testAttribute to the worst offenders (>200ms on my machine)

* Fix yaml notation

* split up windows/non windows test runs

* Added supression for moved tests

* Fix yaml validation issues

* Change yaml string parameter null value to empty string

* Convert empty strings to whitespace strings

* Rename and cleanup some paramater to better reflect why we use them

* Nightly build test

* Change nightly build authentication type

* template paramater fix

* Update nightly pipeline name

---------

Co-authored-by: Sven Geusens <sge@umbraco.dk>
This commit is contained in:
Sven Geusens
2023-09-12 14:16:27 +02:00
committed by GitHub
parent 95ffdae475
commit c8e054baa2
51 changed files with 375 additions and 43 deletions

View File

@@ -14,6 +14,7 @@ using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.Persistence.Repositories;
using Umbraco.Cms.Core.Services;
using Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement;
using Umbraco.Cms.Tests.Common.Attributes;
using Umbraco.Cms.Tests.Common.Builders;
using Umbraco.Cms.Tests.Common.TestHelpers.Stubs;
using Umbraco.Cms.Tests.Common.Testing;
@@ -48,6 +49,7 @@ public class ContentServicePerformanceTest : UmbracoIntegrationTest
}
[Test]
[LongRunning]
public void Retrieving_All_Content_In_Site()
{
// NOTE: Doing this the old 1 by 1 way and based on the results of the ContentServicePerformanceTest.Retrieving_All_Content_In_Site
@@ -113,6 +115,7 @@ public class ContentServicePerformanceTest : UmbracoIntegrationTest
}
[Test]
[LongRunning]
public void Creating_100_Items()
{
// Arrange
@@ -132,6 +135,7 @@ public class ContentServicePerformanceTest : UmbracoIntegrationTest
}
[Test]
[LongRunning]
public void Creating_1000_Items()
{
// Arrange
@@ -151,6 +155,7 @@ public class ContentServicePerformanceTest : UmbracoIntegrationTest
}
[Test]
[LongRunning]
public void Getting_100_Uncached_Items()
{
// Arrange
@@ -178,6 +183,7 @@ public class ContentServicePerformanceTest : UmbracoIntegrationTest
}
[Test]
[LongRunning]
public void Getting_1000_Uncached_Items()
{
// Arrange
@@ -204,6 +210,7 @@ public class ContentServicePerformanceTest : UmbracoIntegrationTest
}
[Test]
[LongRunning]
public void Getting_100_Cached_Items()
{
// Arrange
@@ -233,6 +240,7 @@ public class ContentServicePerformanceTest : UmbracoIntegrationTest
}
[Test]
[LongRunning]
public void Getting_1000_Cached_Items()
{
// Arrange