摘要:
The method is for testing classes of an object oriented program available for the first time. Classes are tested in that the tester interactively inputs test commands with which method calls are possible. The checking of the test results is likewise possible in interactive fashion. The testability is achieved in that the required call parameters are calculated in advance for all methods allowed in the class and in that precautions are undertaken in the computer memory in order to store and modify the possible parameters. The advantages are that testing can be interactively carried out and not that the test program must be corrected, translated and linked again after the test evaluation in a time-consuming fashion. The method is advantageously utilized in the development of communications software.
摘要:
A method for integration testing of all objects of an object-oriented program in which an analysis of its source code is first carried out in order to identify the mutual dependencies between objects and classes and, on the basis of these dependencies, those objects that have already been tested are allocated to a set of tested objects and, further, objects that are dependent only on these tested objects are also identified. These objects are tested and are subsequently added to the set of tested objects. When no object can be found that is dependent only on tested objects, those objects are sought that are dependent only on one additional, untested object. This untested object can then be replaced by an object stub for test purposes. The object thus tested is subsequently transferred into the set of tested objects. When objects are found that are dependent only on one another and form a cycle, then one of these is replaced by an object stub in order to be able to test the other. As a result, all objects of the object-oriented program to be tested are united in the set of tested objects and the entire program is tested.
摘要:
The description of the invention relates to a process for performing tests by means of which functionality and the real-time behavior of objects derived from concurrent classes can be tested. The particular advantage of the process according to the invention is that it is not individual objects that are instrumented for test purposes, but rather that the operating system is instrumented for test purposes. Furthermore, one major advantage lies in the fact that allocation information of source code to object code is used during testing which provides the programmer with a simple means of inputting test scenarios.