%0 Journal Article %T A method for model based test harness generation for component testing %A Rocha %A Camila Ribeiro %A Martins %A Eliane %J Journal of the Brazilian Computer Society %D 2008 %I Springer %R 10.1007/BF03192549 %X we present a model-based testing approach that allows the automatic generation of test artifacts for component testing. a component interacts with its clients through provided interfaces, and request services from other components through its required interfaces. generating a test artifact that acts as though it were the client of the component under test is the easiest part, and there already exists tools to support this task. but one needs also to create substitute of the server components, which is the hardest part. although there are also tools to help with this task, it still requires manual effort. our approach provides a systematic way to obtain such substitute components during test generation. results of the application of the approach in a real world component are also presented. %K component testing %K model based testing %K stubs %K test case generation. %U http://www.scielo.br/scielo.php?script=sci_abstract&pid=S0104-65002008000100003&lng=en&nrm=iso&tlng=en