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

DateTime tolerance cannot be defined as one-sided #317

Open aniketh02 opened 7 years ago

aniketh02 commented 7 years ago

I want "- 2days" in my testcase: image

Getting the following error. Is it possible to mention - or + value for datetime ?

image

Seddryck commented 7 years ago

No, it's not possible at this moment. One-sided tolerance is only supported for the type 'numeric'.

Shouldn't be too difficult to add this, just a bit of the same implementation than for NumericComparer and NumericTolerance. If anyone is interested to work on this feel free.