Skip to content

Experiment with using TUnit instead of xUnit #703

Experiment with using TUnit instead of xUnit

Experiment with using TUnit instead of xUnit #703

GitHub Actions / 🚦 Test Results (Linux) succeeded Jan 6, 2025 in 1s

72 passed, 0 failed and 0 skipped

Tests passed successfully

✅ Serilog.Formatting.Log4Net.Tests.trx

72 tests were completed in 753ms with 72 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Serilog.Formatting.Log4Net.Tests.IndentationSettingsTest 6✅ 396ms
Serilog.Formatting.Log4Net.Tests.LineEndingTest 1✅ 53ms
Serilog.Formatting.Log4Net.Tests.Log4NetTextFormatterTest 62✅ 4s
Serilog.Formatting.Log4Net.Tests.PublicApi 3✅ 669ms

✅ Serilog.Formatting.Log4Net.Tests.IndentationSettingsTest

✅ IndentationSettingsToString(Space, 2,   )
✅ IndentationSettingsToString(Space, 4,     )
✅ IndentationSettingsToString(Tab, 2, 		)
✅ IndentationSettingsToString(Tab, 4, 				)
✅ InvalidIndentation
✅ InvalidSize

✅ Serilog.Formatting.Log4Net.Tests.LineEndingTest

✅ InvalidLineEnding

✅ Serilog.Formatting.Log4Net.Tests.Log4NetTextFormatterTest

✅ Caller
✅ CallerLog4J
✅ CallerNonScalar
✅ CallerWithFile
✅ CustomLogEventPropertyValue
✅ DefaultFormatProvider
✅ DictionaryProperty
✅ DomainAndUserNameProperty()
✅ DomainAndUserNameProperty(null)
✅ DomainAndUserNameProperty(TheDomain\TheUser)
✅ DomainAndUserNameProperty(TheDomain\TheUser\Name)
✅ DomainAndUserNameProperty(TheUser)
✅ DomainAndUserNamePropertyStructureValue
✅ Exception
✅ ExceptionFormatter
✅ ExceptionFormatterReturningNull
✅ ExceptionFormatterThrowing
✅ ExplicitFormatProvider
✅ FilterProperty
✅ FilterPropertyThrowing
✅ IndentationSettings(Space, 2)
✅ IndentationSettings(Space, 4)
✅ IndentationSettings(Tab, 2)
✅ IndentationSettings(Tab, 4)
✅ InvalidLogEventLevelThrowsArgumentOutOfRangeException
✅ Log4JCompatibility(False)
✅ Log4JCompatibility(True)
✅ LogEventLevel(Debug)
✅ LogEventLevel(Error)
✅ LogEventLevel(Fatal)
✅ LogEventLevel(Information)
✅ LogEventLevel(Verbose)
✅ LogEventLevel(Warning)
✅ LoggerName
✅ LoggerNameStructureValue
✅ MachineNameProperty(null)
✅ MachineNameProperty(TheMachineName)
✅ MachineNamePropertyStructureValue
✅ MessageCDataMode(Always, False)
✅ MessageCDataMode(Always, True)
✅ MessageCDataMode(IfNeeded, False)
✅ MessageCDataMode(IfNeeded, True)
✅ MessageCDataMode(Never, False)
✅ MessageCDataMode(Never, True)
✅ NoIndentation
✅ NoNamespace
✅ NullLogEventThrowsArgumentNullException
✅ NullOutputThrowsArgumentNullException
✅ NullProperty
✅ SequenceProperty
✅ SettingExceptionFormatterToNullThrowsArgumentNullException
✅ SettingPropertyFilterToNullThrowsArgumentNullException
✅ StructureProperty
✅ ThreadIdProperty(1)
✅ ThreadIdProperty(null)
✅ TwoEvents
✅ TwoProperties
✅ TwoPropertiesOneNull
✅ XmlElementsLineEnding(CarriageReturn)
✅ XmlElementsLineEnding(LineFeed, CarriageReturn)
✅ XmlElementsLineEnding(LineFeed)
✅ XmlElementsLineEnding(None)

✅ Serilog.Formatting.Log4Net.Tests.PublicApi

✅ ApprovePublicApi(net6.0)
✅ ApprovePublicApi(net8.0)
✅ ApprovePublicApi(netstandard2.0)