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

write a query to display the departments with no employee?

1553


what r the reports u faced critical and how it can be solved .. any once can u give a best ans for interviw

1880


What is the deployment requirements used in cognos?

553


Give the advantages of cognos?

579


what is log in cognos?

664






What is the difference b/w macros and prompt?

596


how to create measures and dimensions?

614


What is a Query Subject?

663


What are the message flows?

559


What is difference between content store and content manager?

547


how can I test reports in cagnos?

634


What errors and types of errors you faced in Cognos ReportNet?

3488


Define dimensions?

615


What is defined as Query studio?

617


Can you explain cognos planning?

663