-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add support to ignore column via index when CSV Headers are missing #161
feat: Add support to ignore column via index when CSV Headers are missing #161
Conversation
… using this option alongside with ColumnOrder = Ignore
✅ Deploy Preview for arcus-testing canceled.
|
@stijnmoreels any additional tests you can think about for this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Congrats w/ your first code contribution! 🎉💃
It's a great one to get you familiar with the current code base - real added value, too.
Only some small changes, but overal great use of existing style and logic in both tests and implementation. Splendid! 🎖️
…to existing method
… existing column of that CSV
…n is ignored via its index or header name at the same time
Co-authored-by: Stijn Moreels <[email protected]>
/azp run CI - Arcus.Testing |
Azure Pipelines successfully started running 1 pipeline(s). |
Added option
IgnoreColumnIndex(int index)
that allows to ignore a column via its index. Useful when headers are missing and we still want to ignore a column.Added a validation to make sure that validation fails when
opt.ColumnOrder
is set toAssertCsvOrder.Ignore
and it is used together withIgnoreColumnIndex(int index)
.Closes #155