Databases Reference
In-Depth Information
Summary
In this chapter, we have examined testing in SOA Suite, starting with simple
one-off tests and then moving on to examine the composite test framework, which
provides a repeatable testing framework for composites and any references called
from a composite.
The SOA Suite testing framework can be used to provide a rigorous environment to
support regression tests. In order to get the best out of this framework, it is necessary
to invest effort in building test cases alongside the composites themselves. The
following checklist may be useful:
Always develop test cases alongside the composites
Always develop test cases for standalone services by creating appropriate
composites as test harnesses
Add new test cases for defects discovered in the fields that were not caught
by existing test cases
Emulate references to allow test cases to focus on composites
Directly call services (don't emulate) to allow test cases to interact with
real endpoints
It is best to build tests when the components themselves are being built, as this
allows us to validate our components incrementally and immediately.
Test early, test often!
 
Search WWH ::




Custom Search