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

Add Exception handling also for Quiet Execution #702

Closed Davijde closed 1 year ago

Davijde commented 1 year ago

As I faced the same issue mentioned here - https://github.com/Seddryck/NBi/issues/678

I thought about a "workaround" to handle failures even in Quiet mode.

My use case is to execute NBi test suite generation trough Command Line therefore with this code change a text file with error message is created, then I read that txt file and the error message is shown clearly.

How to read error file trough Command Line

image

Error message example

image

It's not rocket science but given the rush I was in, this worked for me :)

Seddryck commented 1 year ago

Ok fine for me. I'll take a look to the two tests failing (absolutely not related to your contribution) and rebase your contribution based on the tests fixes. I'll do that during the week-end.

Seddryck commented 1 year ago

Overwritten by #710