title | description | ms.date | f1_keywords | helpviewer_keywords | author | ms.author | ||||
---|---|---|---|---|---|---|---|---|---|---|
MSTEST0014: DataRow should be valid |
Learn about code analysis rule MSTEST0014: DataRow should be valid |
03/11/2024 |
|
|
evangelink |
amauryleve |
Property | Value |
---|---|
Rule ID | MSTEST0014 |
Title | DataRow should be valid |
Category | Usage |
Fix is breaking or non-breaking | Non-breaking |
Enabled by default | Yes |
Default severity | Warning |
Introduced in version | 3.3.0 |
An instance of [DataRow]
is not following one or multiple points of the required DataRow
layout.
[DataRow]
instances should have the following layout to be valid:
- they should only be set on a test method
- argument count should match method parameters count
- argument type should match method argument type
Ensure that the DataRow
instance matches the required layout described above.
Do not suppress a warning from this rule. If you ignore this rule, flagged instances will be either skipped or result in runtime error.