NBi icon indicating copy to clipboard operation
NBi copied to clipboard

Running NBi tests in TeamCity

Open piotrrokosz-gain opened this issue 3 years ago • 1 comments

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 ?

piotrrokosz-gain avatar Jul 13 '22 08:07 piotrrokosz-gain

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

Seddryck avatar Jul 16 '22 09:07 Seddryck