Summary
Gets or sets file-globbing patterns passed as
--test-modules.
- Namespace
- Cake
.Common .Tools .DotNet .Test - Containing Type
- DotNetTestSettings
Syntax
public ICollection<string> TestModules { get; set; }
Remarks
Only tests in matching modules run. Prefix a pattern with
! to exclude matches.
Multiple patterns are joined with semicolons. Whitespace around each pattern is ignored.
Because this option does not evaluate projects, use it to run already-built test applications
when project restore state is not available.
Requires .NET 11 Preview 6 or newer for exclusion prefixes.
Value
| Type | Description |
|---|---|
| ICollection |
