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

Support of fuzzy comparison for strings #230

Closed Seddryck closed 7 years ago

Seddryck commented 7 years ago

Currently when executing comparison of result-sets, it's possible to apply a tolerance for numeric and dateTime values but not for string. It should be possible to support a tolerance based on an approximate string comparison.

<column index="2">
   <tolerance>Jaro-Winkler (0.95)</tolerance>
</column>

or

<equalTo tolerance="Jaro-Winkler (0.95)">

Suggested by @tomaztk

Seddryck commented 7 years ago

FuzzyString supports many approximate string comparison

and is available on nuget https://www.nuget.org/packages/FuzzyString

Seddryck commented 7 years ago

Beta available at https://ci.appveyor.com/project/Seddryck/nbi/build/1.16.0-beta.49.build.45

Seddryck commented 7 years ago

New beta available at https://ci.appveyor.com/project/Seddryck/nbi/build/1.16.0-beta.55.build.54

Fix issues: