Seddryck / NBi

NBi is a testing framework (add-on to NUnit) for Business Intelligence and Data Access. The main goal of this framework is to let users create tests with a declarative approach based on an Xml syntax. By the means of NBi, you don't need to develop C# or Java code to specify your tests! Either, you don't need Visual Studio or Eclipse to compile your test suite. Just create an Xml file and let the framework interpret it and play your tests. The framework is designed as an add-on of NUnit but with the possibility to port it easily to other testing frameworks.
http://www.nbi.io
Apache License 2.0
106 stars 37 forks source link

Ignore footer in CSV file #708

Closed michalkleta-gain closed 1 year ago

michalkleta-gain commented 1 year ago

Hi,

In my test I'm trying to compare query result with CSV. Is there an option to ignore the footer in CSV file - similar to first-row-heafer="true" in csv-profile maybe?

Seddryck commented 1 year ago

No it doesn't exist.

Parsing of the CSV file is done with PocketCsvReader. You can take a look to this tiny project and check if you can implement this into this project. But TBH, skipping the last lines of a file will require to know that it's the last lines which could be tricky.

michalkleta-gain commented 1 year ago

Thank you for your answer. I'll try to find some workaround then.