Giter Club home page Giter Club logo

Comments (3)

FuegoArtificial avatar FuegoArtificial commented on May 22, 2024

This would really be a very cool and powerful feature!

Some thoughts about it:
perhaps the system-under-test part of a test would need to point a the atom feed xml-file or be directly included as CDATA-text?
In addition probably which report item is referenced if one has multiple tables.
The assert could then use the same approach (if it's compared against other report instances) or fixed reference data from a CSV or database table, whatever it might be.

from nbi.

Seddryck avatar Seddryck commented on May 22, 2024

The key question is to tranform a hierarchical result (XML/JSON) into a table result (SQL query result/CSV/...). It sounds trivial but it is not. If you've some ideas they are welcome.

from nbi.

FuegoArtificial avatar FuegoArtificial commented on May 22, 2024

@Seddryck , I see your point!
I have two ideas in mind:

  1. Could it be possible that the result of the OData-Feed of a reporting services report is always is the same pattern and therefore has a static hierarchy? Then it would be way easier to implement a SSRS-specific solution. How would you approach this? Perhaps I can check some questions.

The flattening behaviour and much more is described here:
https://docs.microsoft.com/en-us/sql/reporting-services/report-builder/generating-data-feeds-from-reports-report-builder-and-ssrs

  1. As a backup or an easier-to-achieve-approach, NBi could compare the result-XML directly. Meaning that just the pure text (maybe without header information) is compared and if the content changes NBi returns an error. I know, this is very plain and doesn't meet exactly what we want, but maybe it could be a start?

from nbi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.