Chapter 9 Flashcards
guidelines for what to test:
Incoming messages should be tested for the state they return.
Outgoing command messages should be tested to ensure they get sent.
Outgoing query messages should not be tested.
guidelines for what to test:
Incoming messages should be tested for the state they return.
Outgoing command messages should be tested to ensure they get sent.
Outgoing query messages should not be tested.
Testing Incoming Messages
Incoming messages make up an object’s public interface, the face it presents to the world. These messages need tests because other application objects depend on their signatures and on the results they return.
Testing Incoming Messages
Incoming messages make up an object’s public interface, the face it presents to the world. These messages need tests because other application objects depend on their signatures and on the results they return.