Skip to content

Use Constructor / Dispose instead of [Before(Test)] / [After(Test)] #801

Use Constructor / Dispose instead of [Before(Test)] / [After(Test)]

Use Constructor / Dispose instead of [Before(Test)] / [After(Test)] #801

Triggered via push May 4, 2025 22:30
Status Failure
Total duration 1m 3s
Artifacts 3
Matrix: 🛠 Build, test and pack
🐿 Publish
0s
🐿 Publish
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 3 warnings
🛠 Build, test and pack (macos-latest)
Process completed with exit code 1.
🛠 Build, test and pack (ubuntu-latest)
Process completed with exit code 1.
🛠 Build, test and pack (windows-latest)
Process completed with exit code 1.
Serilog.Formatting.Log4Net.Tests.Log4NetTextFormatterTest ► ExceptionFormatterThrowing: tests/Log4NetTextFormatterTest.cs#L577
Failed test found in: Serilog.Formatting.Log4Net.Tests.trx Error: AssertionFailedException: Expected SelfLogValue "" to contain "[Serilog.Formatting.Log4Net.Log4NetTextFormatter] An exception was thrown while formatting an exception.".
Serilog.Formatting.Log4Net.Tests.Log4NetTextFormatterTest ► FilterPropertyThrowing: tests/Log4NetTextFormatterTest.cs#L417
Failed test found in: Serilog.Formatting.Log4Net.Tests.trx Error: AssertionFailedException: Expected SelfLogValue "" to contain "[Serilog.Formatting.Log4Net.Log4NetTextFormatter] An exception was thrown while filtering property 'two'.".
Serilog.Formatting.Log4Net.Tests.Log4NetTextFormatterTest ► MessageFormatterThrowing: tests/Log4NetTextFormatterTest.cs#L531
Failed test found in: Serilog.Formatting.Log4Net.Tests.trx Error: AssertionFailedException: Expected SelfLogValue "" to contain "[Serilog.Formatting.Log4Net.Log4NetTextFormatter] An exception was thrown while formatting a message.".
Serilog.Formatting.Log4Net.Tests.Log4NetTextFormatterTest ► ExceptionFormatterThrowing: tests/Log4NetTextFormatterTest.cs#L577
Failed test found in: Serilog.Formatting.Log4Net.Tests.trx Error: AssertionFailedException: Expected SelfLogValue "" to contain "[Serilog.Formatting.Log4Net.Log4NetTextFormatter] An exception was thrown while formatting an exception.".
Serilog.Formatting.Log4Net.Tests.Log4NetTextFormatterTest ► FilterPropertyThrowing: tests/Log4NetTextFormatterTest.cs#L417
Failed test found in: Serilog.Formatting.Log4Net.Tests.trx Error: AssertionFailedException: Expected SelfLogValue "" to contain "[Serilog.Formatting.Log4Net.Log4NetTextFormatter] An exception was thrown while filtering property 'two'.".
Serilog.Formatting.Log4Net.Tests.Log4NetTextFormatterTest ► MessageFormatterThrowing: tests/Log4NetTextFormatterTest.cs#L531
Failed test found in: Serilog.Formatting.Log4Net.Tests.trx Error: AssertionFailedException: Expected SelfLogValue "" to contain "[Serilog.Formatting.Log4Net.Log4NetTextFormatter] An exception was thrown while formatting a message.".
Serilog.Formatting.Log4Net.Tests.Log4NetTextFormatterTest ► ExceptionFormatterThrowing: tests/Log4NetTextFormatterTest.cs#L577
Failed test found in: Serilog.Formatting.Log4Net.Tests.trx Error: AssertionFailedException: Expected SelfLogValue "" to contain "[Serilog.Formatting.Log4Net.Log4NetTextFormatter] An exception was thrown while formatting an exception.".
Serilog.Formatting.Log4Net.Tests.Log4NetTextFormatterTest ► FilterPropertyThrowing: tests/Log4NetTextFormatterTest.cs#L417
Failed test found in: Serilog.Formatting.Log4Net.Tests.trx Error: AssertionFailedException: Expected SelfLogValue "" to contain "[Serilog.Formatting.Log4Net.Log4NetTextFormatter] An exception was thrown while filtering property 'two'.".
Serilog.Formatting.Log4Net.Tests.Log4NetTextFormatterTest ► MessageFormatterThrowing: tests/Log4NetTextFormatterTest.cs#L531
Failed test found in: Serilog.Formatting.Log4Net.Tests.trx Error: AssertionFailedException: Expected SelfLogValue "" to contain "[Serilog.Formatting.Log4Net.Log4NetTextFormatter] An exception was thrown while formatting a message.".
🛠 Build, test and pack (macos-latest)
No files were found with the provided path: **/*.received.*. No artifacts will be uploaded.
🛠 Build, test and pack (ubuntu-latest)
No files were found with the provided path: **/*.received.*. No artifacts will be uploaded.
🛠 Build, test and pack (windows-latest)
No files were found with the provided path: **/*.received.*. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
TestResults-Linux.trx Expired
15.4 KB
sha256:e0f3abc41fe0881a7ccd53e0480ca1896ae12b7221b1b65cf0702b50efd8ca50
TestResults-Windows.trx Expired
15.2 KB
sha256:c68c79c3751124a5aa9b3be773b9e75d43ce2a9fed4a63da4311533260cc1a74
TestResults-macOS.trx Expired
15.1 KB
sha256:e67b6fa1edb1434081562ef8a719cfd65af0da7f6bfcb69b753352514e32fadf