|
发表于 2014-3-17 15:04:03
|
显示全部楼层
Hi
I use something that I call a Master Process cube. One dimension is the Master Process dimension. Against each Master Process element you can set up a number of lines of processes to be run, and give parameters.
The master process execution process takes a parameter of an element in the Master Process dimension to be run. It then runs each process in turn, passing in the parameters. You can set each process to continue on error or to stop running further processes if there is an error. For an error testing suite you would probably want it to continue. At the end it will tell you whether each process succeeded or failed and how long it took to run.
However, the hard part is writing the processes to do the checks.
In practice I tend to incorporate the tests into the system rather than having a separate test suite.
For example, at the end of a dim build process there will be checks to ensure that all elements below a given top level element only have one parent.
For general day to day testing, I usually build an Excel framework where I perform the same calculations in Excel and compare the results to TM1. I also use it to report on Orphans (elements that have no parents in the hierarchy and which are linked to an Orphans consolidation that then consolidates into All elements.
The other part is setting up a reliable set of test data. In the past it took quite some time to set up a relational database with a set of test data for TM1 ( and also relational Cognos BI) so that we have a reliable set of data for test loads.
However, with a TI process based test suite you will only really be testing loads and dim builds or simulations of data entry, but you still won't be testing the data entry sheets, security rights, etc.
Regards
Paul Simon |
|