Debug info for tests, to debug on Azure Devops
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
This commit is contained in:
@@ -92,7 +92,7 @@ namespace Umbraco.Tests.Integration.Testing
|
||||
[SetUp]
|
||||
public virtual void Setup()
|
||||
{
|
||||
TestContext.Progress.Write($"Start test {_testCount++}: ");
|
||||
TestContext.Progress.Write($"Start test {_testCount++}: {TestContext.CurrentContext.Test.Name}");
|
||||
_stopWatch = new Stopwatch();
|
||||
_stopWatch.Start();
|
||||
var hostBuilder = CreateHostBuilder();
|
||||
|
||||
21
src/Umbraco.Tests.Integration/Tests.cs
Normal file
21
src/Umbraco.Tests.Integration/Tests.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using NUnit.Framework;
|
||||
using Umbraco.Tests.Integration.Testing;
|
||||
|
||||
namespace Umbraco.Tests.Integration
|
||||
{
|
||||
[TestFixture]
|
||||
public class Tests : UmbracoIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public void Test__Stupid_test_that_only_is_used_to_check_how_long_time_we_spend_int_setup_and_teardown1()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void Test__Stupid_test_that_only_is_used_to_check_how_long_time_we_spend_int_setup_and_teardown2()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user