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 scalar-query to get a Json value out of a database #632

Closed Seddryck closed 2 years ago

Seddryck commented 3 years ago

When relying on Json features of SQL Server, it could be handy to retrieve the value of a stored procedure or query that is already returnd as a Json string.

<json-source>
  <scalar-query>exec MyStoredProcedure ("[{"id"=0}, {"id"=1}]")<scalar-query>
  <json-path>...</json-path>
</json-source>
Seddryck commented 3 years ago

Implemented and documented in 1.23.0-beta.164 or on nuget via Update-Package NBi.Framework -version 1.23.0-beta0164.