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

Add a new filtering alteration to drop rows where some or all columns has a null value #666

Open Seddryck opened 2 years ago

Seddryck commented 2 years ago

When parsing some weird files, it would be convenient to be able to drop rows where at least one column has the value null. On some other cases, it's when all the columns are null that the row should be dropped. Writing this with the traditional filter can become cumbersome when there are a lot of columns or you don't know how many columns your file will contain.

<alteration>
  <drop>
    <some-columns> // all-columns
      <null />
    <some-columns>
  </drop> 
</alteration>