File tree Expand file tree Collapse file tree 2 files changed +20
-13
lines changed Expand file tree Collapse file tree 2 files changed +20
-13
lines changed Original file line number Diff line number Diff line change @@ -58,20 +58,25 @@ jobs:
58
58
displayName : Publish Test Results
59
59
condition : always()
60
60
61
- - task : PublishPipelineArtifact@1
62
- displayName : Publish UI Test Results
63
- inputs :
64
- targetPath : .\build\UITestResults.wtl
65
- artifactName : WexLogFileOutput
66
- condition : always()
67
-
68
61
- task : PublishPipelineArtifact@1
69
62
displayName : Publish Test WexLogFileOutput
70
63
inputs :
71
64
targetPath : .\build\WexLogFileOutput
72
- artifactName : WexErrorLogFileOutput
65
+ artifactName : WexUnitTestErrorLogFileOutput
73
66
condition : failed()
74
67
68
+ # ## UI Integration Tests ###
69
+
70
+ - powershell : .\build\build.ps1 -target=UITest
71
+ displayName : UI Integration Tests
72
+
73
+ - task : PublishPipelineArtifact@1
74
+ displayName : Publish UI Test Results
75
+ inputs :
76
+ targetPath : .\build\UITestResults.wtl
77
+ artifactName : WexUITestLogFileOutput
78
+ condition : always()
79
+
75
80
# ## Package ###
76
81
77
82
- powershell : .\build\build.ps1 -target=Package
@@ -107,9 +112,6 @@ jobs:
107
112
artifact : Packages
108
113
path : .\bin\nupkg
109
114
110
- - powershell : dir .\bin\nupkg
111
- displayName : List NuGet Archive
112
-
113
115
- powershell : .\build\build.ps1 -target=SmokeTest
114
116
displayName : SmokeTest
115
117
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ public string getMSTestAdapterPath(){
243
243
}
244
244
245
245
Task ( "Test" )
246
- . Description ( "Runs all Tests" )
246
+ . Description ( "Runs all Unit Tests" )
247
247
. Does ( ( ) =>
248
248
{
249
249
Information ( "\n Running Unit Tests" ) ;
@@ -272,7 +272,11 @@ Task("Test")
272
272
ArgumentCustomization = arg => arg . Append ( $ "-s { baseDir } /.runsettings") ,
273
273
} ;
274
274
DotNetCoreTest ( file . FullPath , testSettings ) ;
275
- } ) . DoesForEach ( GetFiles ( taefBinDir + "/**/UITests.Tests.TAEF.dll" ) , ( file ) =>
275
+ } ) . DeferOnError ( ) ;
276
+
277
+ Task ( "UITest" )
278
+ . Description ( "Runs all UI Tests" )
279
+ . DoesForEach ( GetFiles ( taefBinDir + "/**/UITests.Tests.TAEF.dll" ) , ( file ) =>
276
280
{
277
281
Information ( "\n Running TAEF Interaction Tests" ) ;
278
282
@@ -315,6 +319,7 @@ Task("MSTestUITest")
315
319
Task ( "Default" )
316
320
. IsDependentOn ( "Build" )
317
321
. IsDependentOn ( "Test" )
322
+ . IsDependentOn ( "UITest" )
318
323
. IsDependentOn ( "Package" ) ;
319
324
320
325
Task ( "UpdateHeaders" )
You can’t perform that action at this time.
0 commit comments