Test Outside In


Test the external behaviour of the component. If it does what you want; you are done.

Testing inside-out focuses too much on the implementation, and not on the behaviour and API that consumers will use.