This commit is contained in:
David Wengier 2023-12-06 11:58:41 +11:00
Родитель dc57f0c1fe
Коммит 149d8ff8ff
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -16,13 +16,13 @@ public class LogIntegrationTestAttribute : BeforeAfterTestAttribute
{
public override void Before(MethodInfo methodUnderTest)
{
Console.WriteLine("#### Integration test start: {method}", methodUnderTest.Name);
Console.WriteLine("##[debug] Integration test start: {0}", methodUnderTest.Name);
GetLogger().LogInformation("#### Integration test start: {method}", methodUnderTest.Name);
}
public override void After(MethodInfo methodUnderTest)
{
Console.WriteLine("#### Integration test start: {end}", methodUnderTest.Name);
Console.WriteLine("##[debug] Integration test start: {0}", methodUnderTest.Name);
GetLogger().LogInformation("#### Integration test end: {method}", methodUnderTest.Name);
}