摘要 |
The invention provides for the first time a process for testing classes of an object-oriented program. Classes are tested by causing the tests interactively to input test commands with their method calls. It is also possible to check the test results interactively. Testability is obtained in that the necessary call parameters are found beforehand for all the methods permitted in the class and precautions are taken in the computer store to store and alter the possible parameters. The advantage is that testing can be performed interactively and not, as previously, in that the test program had to be once more corrected, translated and fixed after test evaluation, which took a great deal of time. The invention can advantageously be used in the development of communication software. |