File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -270,6 +270,18 @@ Task("Test")
270
270
ArgumentCustomization = arg => arg . Append ( $ "-s { baseDir } /.runsettings /p:Platform=AnyCPU") ,
271
271
} ;
272
272
DotNetCoreTest ( file . FullPath , testSettings ) ;
273
+ } ) . DoesForEach ( GetFiles ( baseDir + "/**/UnitTests.SourceGenerators.csproj" ) , ( file ) =>
274
+ {
275
+ Information ( "\n Running NetCore Source Generator Unit Tests" ) ;
276
+ var testSettings = new DotNetCoreTestSettings
277
+ {
278
+ Configuration = configuration ,
279
+ NoBuild = true ,
280
+ Loggers = new [ ] { "trx;LogFilePrefix=VsTestResults" } ,
281
+ Verbosity = DotNetCoreVerbosity . Normal ,
282
+ ArgumentCustomization = arg => arg . Append ( $ "-s { baseDir } /.runsettings /p:Platform=AnyCPU") ,
283
+ } ;
284
+ DotNetCoreTest ( file . FullPath , testSettings ) ;
273
285
} ) . DeferOnError ( ) ;
274
286
275
287
Task ( "UITest" )
You can’t perform that action at this time.
0 commit comments