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 multiple variables in an instance-settling #433

Open Seddryck opened 5 years ago

Seddryck commented 5 years ago

It should be possible to define additional variables in an instance-settling.

When additional variables are created they should be combined with a cartesian product. Meaning that if the first variable as two values (A, B) and the second variables has three values (1, 2, 3), then the test will be instantiated 6 times with the set of local-variables [A,1], [A,2], [A,3], [B,1], [B,2], [B,3].

Supported syntax

<instance-settling combination="cardinal-product">
  <local-variable name="alpha" type="numeric">
    <loop-sentinel seed="1" terminal="3" step="1"/>
  </local-variable>
  <local-variable name="beta" type="dateTime">
    <loop-sentinel seed="2016-01-01" terminal="2020-01-01" step="1 year"/>
  </local-variable>
</instance-settling>
lukzas commented 4 years ago

Upvoting this feature 🚀