Consumers should drive the definition of service contracts, while limiting to their individual needs. Suppliers should then validate against the union of their consumers' contracts.| martinfowler.com
Write most of your tests at a low level (unit tests) with a few broad-stack tests, eg via UI. UI tests tend to be fragile and slow.| martinfowler.com
Find out what kinds of automated tests you should implement for your application and learn by examples what these tests could look like.| martinfowler.com