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

what is hints in cognos and where we use it.

2076


What is difference between page break and section report? What is main advantage datawarehousing over oracle?

692


what is online view?

1612


What is the difference between set functions and filter function in dimensional data?

2597


How is possible this scenario using in type-in prompt.?

677






What is dtm?

821


actually 2 members working in same module.at a time is possible to work on same module? i add some tables,another person also add some tables how the synchronization betn the two in same module? pls ans me and expain to me.....

1362


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

1613


1. Explain your project.

1688


Explain the difference between powerplay transformer and power play reports?

682


10. How many queries did you use in the complex reports? 11. How will you use the joins in the queries used in your report? 12. How many reports did you create in your project? 13. How many cubes did you create in your project? 14. How will you create .iqd file in FM. 15. Was your package multilingual or single language? 16. If you have created a single language package…and you have a client who need to access that in other language…how will you do that? 17. How many dimensions and facts did you use in your reports? 18. How will you use your package in Analysis studio? 19. Something like types of files in power play like pyi..i don’t remember this question. 20. If you want to create a prompt with 4 list, not containing any value using value prompt, which when we will see in the run time…if we will select any list, it should show us the data related to that list. 21. What all kind of packages you can create using FM. 22. In your project was your cube a relational or multidimensional? 23. I replied MD for the above question then they asked why did you use that? 24. How do you publish a cube? 25. Slicer and dicer….its use…where is it used? 26. Bursting…. 27. How many types of query subjects are there? 28. Difference between before and after aggregation?

2097


What is the difference between Standard and Metrics folder?

664


What are the different types of reports present in cognos?

661


What is the difference between low affinity and high affinity connections?

637


How to generate the Catalog in Cognos? Basically all post describing generating the Catalog from cognos impromptu . Is there any way to generate the Catalog using Cognos Administration or Framework Manager?

1626