@@ -20,7 +20,22 @@ public void I_can_use_the_logger_with_the_default_configuration()
2020
2121 // Assert
2222 logger . Context . Should ( ) . NotBeNull ( ) ;
23- logger . Context ? . Options . Should ( ) . Be ( TestLoggerOptions . Default ) ;
23+ logger . Context ? . Options . Should ( ) . BeEquivalentTo ( TestLoggerOptions . Default ) ;
24+ }
25+
26+ [ Fact ]
27+ public void I_can_use_the_logger_with_an_empty_configuration ( )
28+ {
29+ // Arrange
30+ var logger = new TestLogger ( ) ;
31+ var events = new FakeTestLoggerEvents ( ) ;
32+
33+ // Act
34+ logger . Initialize ( events , new Dictionary < string , string ? > ( ) ) ;
35+
36+ // Assert
37+ logger . Context . Should ( ) . NotBeNull ( ) ;
38+ logger . Context ? . Options . Should ( ) . BeEquivalentTo ( TestLoggerOptions . Default ) ;
2439 }
2540
2641 [ Fact ]
@@ -35,7 +50,8 @@ public void I_can_use_the_logger_with_a_custom_configuration()
3550 [ "annotations.titleFormat" ] = "TitleFormat" ,
3651 [ "annotations.messageFormat" ] = "MessageFormat" ,
3752 [ "summary.includePassedTests" ] = "true" ,
38- [ "summary.includeSkippedTests" ] = "true"
53+ [ "summary.includeSkippedTests" ] = "true" ,
54+ [ "summary.includeNotFoundTests" ] = "true"
3955 } ;
4056
4157 // Act
@@ -47,5 +63,6 @@ public void I_can_use_the_logger_with_a_custom_configuration()
4763 logger . Context ? . Options . AnnotationMessageFormat . Should ( ) . Be ( "MessageFormat" ) ;
4864 logger . Context ? . Options . SummaryIncludePassedTests . Should ( ) . BeTrue ( ) ;
4965 logger . Context ? . Options . SummaryIncludeSkippedTests . Should ( ) . BeTrue ( ) ;
66+ logger . Context ? . Options . SummaryIncludeNotFoundTests . Should ( ) . BeTrue ( ) ;
5067 }
5168}
0 commit comments