Unit Testing Report within Reporting Services: My Theory
I have been working with Microsoft SQL Server Reporting Services, since its first release, within many of my projects. One of the biggest tasks, that I find with writing a report is the testing the reports and making sure the data that is displayed is correct. My method of developing and testing reports is as follows: Write the queries, outside Reporting Services, for creating the report data set(s) with the parameters defined which will be configured within the report. Define the parameters that report data set would create and assign a valid value. Execute the queries. Inspect the results to make sure that they meet the expected results. Repeat with a new valid value or fix any issues. After one or two or even three passes that have worked then I take the queries and put them into report data sets. Then I define the report layout. Then I preview the report make sure it’s still correct Then I release to our te...