How to test the modules?
Posted: 08 Apr 2010, 08:27
Is there a way to create a testing environment for one filter in such a way that it runs independently from the other modules and the operator and that I can control the execution of its functions?
Reason why I want to do this is that I would like to control input and the output of the filter to be able to compare it (test it) against data created with the same filter but from another souce (same fileter programed in MATLAB for instance). I tried to do this with the UNITEST arhitecture, but I can't trick the filter into accesing the States and Parameters defined from outside.
Reason why I want to do this is that I would like to control input and the output of the filter to be able to compare it (test it) against data created with the same filter but from another souce (same fileter programed in MATLAB for instance). I tried to do this with the UNITEST arhitecture, but I can't trick the filter into accesing the States and Parameters defined from outside.