generated from arcus-azure/arcus.github.template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add support to ignore column via index when CSV Headers are mis…
…sing (#161) * Added an option to ignore column by its index and validation to avoid using this option alongside with ColumnOrder = Ignore * Overload IgnoreColumn method * Move validation of IgnoredColumnIndexes used with ColumnOrder Ignore to existing method * Fixed exception message * Fixed FailsWithDescription test message content * Created a IgnoredIndex prop in TestCsv that returns any indexes of an existing column of that CSV * Added test case to make sure assertion still succeeds when same column is ignored via its index or header name at the same time * Added guard against negative index values * Updated docs to include IgnoreColumns by index * Typo * Typo * Update src/Arcus.Testing.Tests.Unit/Assert_/AssertCsvTests.cs Co-authored-by: Stijn Moreels <[email protected]> --------- Co-authored-by: Stijn Moreels <[email protected]>
- Loading branch information
1 parent
6ed8f40
commit ec39775
Showing
4 changed files
with
140 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.