COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: shrini on 20 Oct 2008 06:44:24 AM

Title: How do we do Unit testing
Post by: shrini on 20 Oct 2008 06:44:24 AM
How do we do unit testing n Performance testing at the report level can i get ina
Briefly frm u frndas?
Title: Re: How do we do Unit testing
Post by: UseCog on 20 Oct 2008 12:15:40 PM
About unit testing
-----------------
You can create some test cases like,

1. Is the report run without any errors
2. If it has prompts, try to run using max possible combinations
3. Match the report output with the report design for the correct alignment, column width and all
4. Match the data output with the the output from the query( you need to create the SQL query for this manually based on the report requirement and execute in data base and you can take to a CSV or some thing and you can compare). This is a little costly


Performance testing
-------------------
1. try to impliment the standard report tuning options available

But performance testing needs to check many, including load on the server and database.

I just thought all these options just now. Many of you can add some more points based on the experience. Please correct/append your suggestions.

Regards,
CU
Title: Re: How do we do Unit testing
Post by: jahnavi on 20 Oct 2008 10:21:55 PM
Hi Friends,

As I know the best way of unit testing is to validate the reports with the data base with the conditions used in the report.

Performance testing is as said by the above person
Title: Re: How do we do Unit testing
Post by: shrini on 22 Oct 2008 12:06:19 AM
Hi Jahnavi,
              Can u tell me some what briefly so that i can get some idea

Reagrds
Shrini