??? 09/28/11 13:25 Read: times |
#183931 - Testing Code Responding to: ???'s previous message |
Observing the output of the frequency on the pin will determine that the program is performing some of what you wanted it to do. However it does not ensure that the program is correct in every way. For example:
Is the frequency exactly what you expected it to be? Is the duty cycle of the signal just as you intended? Is the program going off and having some other side effect to the hardware that you did not intend? Is the program going off and having some other side effect to other software modules that makes them work incorrectly? Only when you can say that the program is fully doing exactly what you intended and not some other stray unexpected things can you say that the software is fully tested and verified. Michael Karas |