How can we do the unit testing?

Answer Posted / jesse wolfe

Run the query with the type=XML parameter, then use XPath to
find the expected data rows and write specific asserts
against expected values. COuld do it in say VisualStudio or
any tool were you can validate against XML. Ideally, you can
jsut compare the entire document with what you were
expecting, though some items may throw you off.

We're even going to do TDD with cognos using this strategy.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

--------------Diff b/w ODS and OLAP?

2750


What is the enterprise class platform architecture of cognos 8?

577


what is catalog and types of catalogs in cagnos and which is better?

681


Can you define dimension?

635


What is the difference between regular dimension and derminant?

1679






What are the types of folder present in cognos?

632


-----------Diff b/w OLAP and RDBMS?

1612


What is called materialized view?

585


Actually we have 500 users when they run the report display the flage image related country user? How its possible?

1565


How to Reset Pagenumbers in one report.

2205


Explain what is the main advantage of impromptu over cognos reportnet?

597


Can we test the report other than manual testing?

1655


what are the names of the reports that you prepared?

620


whats the difference between previous version of cognos and cognos 8 BI?

4740


7. What is performance tuning?

1568