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

How do we convert from Numeric to be Words?

2682


hi, this is harish. i had finsihed cognos course recently.can some one help in the area of project explination, interview questions,real time scenarious....this is my maild id nanagupta907@gmail.com

1718


is cognos 7 is better than cognos 8

1872


What do you understand by the term ‘frame manager' in cognos and write all the layers of the framework manager model?

925


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

5034


Diff b/w Crossproduct and Outerjoin?

2024


How to Reset Pagenumbers in one report.

2413


------------ Diff b/w MemberCaption and MemberDescription?

2096


how to perform back drill through in cognos 8 what is the use of it

2250


which type of project we r going to snowflake schema

1757


what do u mean by bridge group? where we r using this one?

1729


WHAT ARE THE DISTNICT VARIABLES?

1968


What is the difference between the content store and content manager?

765


What are the advantages of shortcuts?

723


hi frnds any body have cognos projects plz send me two(or)three projects to my mail adress ramureddy.reddy4@gmail.com.

1761