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

Task to process cube #677

Open fdw opened 2 years ago

fdw commented 2 years ago

So, maybe we missed something or are doing something weird, but currently, we set up tests first by importing data into the database using <sql-run>. Then, we need to explicitly process our cube before we can run queries. To do that, we call a Powershell script with <exe-run>.

However, I'm wondering if there might be a better way. I imagine we cannot be the only ones to re-process the cube between tests, so is there something we missed? Or would it be sensible to add a new task just for that (that can call a Powershell script, for example).

Seddryck commented 2 years ago

We're reprocessing cubes or part of the cubes with a tiny CLI so we don't need a specific task but the standard <exe-run>.

Nevertheless, I worked once on a task for this but never committed the code. It's definitively possible to implement this. If anyone is willing to contribute, all pull requests are welcome.