You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Source/MSBuild.Community.Tasks/NUnit.cs
+49
Original file line number
Diff line number
Diff line change
@@ -261,6 +261,49 @@ public bool ShowLabels
261
261
set{_showLabels=value;}
262
262
}
263
263
264
+
privatestring_process;
265
+
266
+
/// <summary>
267
+
/// The /process option controls how NUnit loads tests in processes. The following values are recognized.
268
+
/// Single - All the tests are run in the nunit-console process. This is the default.
269
+
/// Separate - A separate process is created to run the tests.
270
+
/// Multiple - A separate process is created for each test assembly, whether specified on the command line or listed in an NUnit project file.
271
+
/// Note: This option is not available using the .NET 1.1 build of nunit-console.
272
+
/// </summary>
273
+
publicstringProcess
274
+
{
275
+
get{return_process;}
276
+
set{_process=value;}
277
+
}
278
+
279
+
privatestring_domain;
280
+
281
+
/// <summary>
282
+
/// The /domain option controls of the creation of AppDomains for running tests. The following values are recognized:
283
+
/// None - No domain is created - the tests are run in the primary domain. This normally requires copying the NUnit assemblies into the same directory as your tests.
284
+
/// Single - A test domain is created - this is how NUnit worked prior to version 2.4
285
+
/// Multiple - A separate test domain is created for each assembly
286
+
/// The default is to use multiple domains if multiple assemblies are listed on the command line. Otherwise a single domain is used.
287
+
/// </summary>
288
+
publicstringDomain
289
+
{
290
+
get{return_domain;}
291
+
set{_domain=value;}
292
+
}
293
+
294
+
privatestring_apartment;
295
+
296
+
/// <summary>
297
+
/// The /apartment option may be used to specify the ApartmentState (STA or MTA) of the test runner thread. Since the default is MTA, the option is only needed to force execution in the Single Threaded Apartment.
298
+
/// Note: If a given test must always run in a particular apartment, as is the case with many Gui tests, you should use an attribute on the test rather than specifying this option at the command line.
0 commit comments