@@ -22,6 +22,8 @@ public void RunTests(IEnumerable<string> sources, IRunContext runContext, IFrame
2222 {
2323 //Debugger.Launch();
2424
25+ frameworkHandle . SendMessage ( TestMessageLevel . Informational , Strings . EXECUTOR_STARTING ) ;
26+
2527 Settings settings = GetSettings ( runContext ) ;
2628
2729 foreach ( string currentAsssembly in sources . Distinct ( ) )
@@ -56,8 +58,7 @@ public void RunTests(IEnumerable<TestCase> tests, IRunContext runContext, IFrame
5658 try
5759 {
5860
59- IEnumerable < IGrouping < string , TestCase > > groupByAssembly = tests . GroupBy ( x => x . Source ) ;
60- foreach ( IGrouping < string , TestCase > grouping in groupByAssembly ) {
61+ foreach ( IGrouping < string , TestCase > grouping in tests . GroupBy ( x => x . Source ) ) {
6162 currentAsssembly = grouping . Key ;
6263 frameworkHandle . SendMessage ( TestMessageLevel . Informational , string . Format ( Strings . EXECUTOR_EXECUTINGIN , currentAsssembly ) ) ;
6364
@@ -67,7 +68,7 @@ public void RunTests(IEnumerable<TestCase> tests, IRunContext runContext, IFrame
6768 executedSpecCount += grouping . Count ( ) ;
6869 }
6970
70- frameworkHandle . SendMessage ( TestMessageLevel . Informational , String . Format ( Strings . EXECUTOR_COMPLETE , executedSpecCount , groupByAssembly . Count ( ) ) ) ;
71+ frameworkHandle . SendMessage ( TestMessageLevel . Informational , String . Format ( Strings . EXECUTOR_COMPLETE , executedSpecCount , tests . GroupBy ( x => x . Source ) . Count ( ) ) ) ;
7172 } catch ( Exception ex )
7273 {
7374 frameworkHandle . SendMessage ( TestMessageLevel . Error , string . Format ( Strings . EXECUTOR_ERROR , currentAsssembly , ex . Message ) ) ;
0 commit comments