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

Pipeline log result in Azure DevOps #689

Closed stefaniaa09 closed 1 year ago

stefaniaa09 commented 1 year ago

Hello, I don't know if it's the right place to answer, but has anyone struggled with this? I have a NBi test integrated in Azure DevOps pipeline where I compare 2 queries. In the pipline logs I get the message: "x (of y) rows have been skipped for display purpose" and I get only 10 rows to view the differences, even if I have maybe more than 100. I don't find any solution to view all rows.

Thank you!

Seddryck commented 1 year ago

That's the default option when you have more than 25 rows in error only the 10 first are displayed. You can override this setting in your config file as explained in the doc about settings.

Nevertheless, keep in mind that it can overload your error report :-).

Thx to close the issue if it answers your question.

Seddryck commented 1 year ago

This page could also help.

stefaniaa09 commented 1 year ago

Thank you, I already made those changes. I only have the .trx file with test results in DevOps and from the documentation I understand that I need the TestResult.xml where I can find all rows. I couldn’t find it yet.

stefaniaa09 commented 1 year ago

Updates not very productive :(

In documentation, at "Setup for Data Quality Rules engine" it says "These two settings will enable NBi to always add to the result file some information about the tests in a JSON format. The JSON content is embedded in the element message of the xml file containing the results." How and where this xml file is generated? Because I don't find it anywhere.

I have a pipeline like this one with VsTest assemblies: https://github.com/Seddryck/NBi/issues/399

Thank you for your answers!