We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19f6f39 commit ebc40a8Copy full SHA for ebc40a8
build/build.fsx
@@ -128,6 +128,10 @@ Target "Test" (fun _ ->
128
testsDir <- testsDir -- (binDir45 @@ "*VB.Tests*.dll")
129
130
let resultsOutputPath = testResultsDir @@ (getBuildParamOrDefault "testResults" "test-results.xml")
131
+ let includeTraits =
132
+ match getBuildParamOrDefault "Category" "" with
133
+ | "" -> []
134
+ | category -> [("Category", category)]
135
136
testsDir
137
|> xUnit2 (fun p ->
@@ -136,6 +140,7 @@ Target "Test" (fun _ ->
140
NUnitXmlOutputPath = Some resultsOutputPath
141
Parallel = ParallelMode.NoParallelization
138
142
TimeOut = TimeSpan.FromMinutes(10.0)
143
+ IncludeTraits = includeTraits
139
144
})
145
)
146
0 commit comments