TestOptions.DependencyDefinedConstants Property
DependencyDefinedConstants
Gets the set of preprocessor symbols that are defined for this test dependency.
To add an item into this collection from a test, add this comment to your test file: // @DependencyDefinedConstant(constant)
.
All constants of the test project and TESTRUNNER and METALAMA are defined by default.
Constants added via DefinedConstants option are not added.
Declaration
public List<string> DependencyDefinedConstants { get; }
Property Value
Type | Description |
---|---|
List<string> |