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

Running NBi tests in TeamCity #687

Open piotrrokosz-gain opened 1 year ago

piotrrokosz-gain commented 1 year ago

Hi, Could you please point me to the documentation/place where I can find how I can run NBI tests in TeamCity Nunit runner? I mean, can I run DLL produced by build, or the only way to run a tests is to run them via NBi.NUnit.Runtime.dll ?

Seddryck commented 1 year ago

Tests are not provided in a dll but only a .nbits file. There is no step of compilation it's interpreted. It means that the effective dll that you're testing is always NBi.NUnit.Runtime.dll that will parse the tests from your .nbits file and interpret them as tests to be run by NUnit.

The process for using this in TeamCity is really similar to the one described in Azure Devops described here