Skip to content

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

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

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

Triggered via push June 16, 2025 09:11
Status Failure
Total duration 1m 9s
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 (ubuntu-latest)
Process completed with exit code 1.
🛠 Build, test and pack (macos-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 (ubuntu-latest)
No files were found with the provided path: **/*.received.*. No artifacts will be uploaded.
🛠 Build, test and pack (macos-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.3 KB
sha256:d96c083a53f10de5eb5ed5e26beb0aae1e6537e0acc4d129af5c0e543a418fec
TestResults-Windows.trx Expired
15.3 KB
sha256:3bc3c635249275740e249cbda77261a027b43e20db107d84f190f0ba8fb94188
TestResults-macOS.trx Expired
15.2 KB
sha256:b87f26d72fd00b075033ede46fb56f80627fc104f01d5d0e834057be9fc4eedc