For example you may have an object that is used to generate a greeting message when a user logs on to your website. For localization purposes, our greeter uses a translator object to translate “hello” into the desired language. We want to test the greeter, so it is the SUT. The greeter depends on the translator to get the right message, so the translator is the DOC.
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.