MetalamaAPI documentationAdvanced APIMetalama.​Testing.​Aspect­TestingTest­OptionsAccept­Invalid­Input
Open sandboxFocus

TestOptions.AcceptInvalidInput Property

AcceptInvalidInput

Gets or sets a value indicating whether the test should be executed even if the input compilation has errors. To enable this option in a test, add this comment to your test file: // @AcceptInvalidInput.

Declaration
public Nullable<bool> AcceptInvalidInput { get; set; }
Property Value
Type Description
Nullable<Boolean>