Java Reference
In-Depth Information
7.4
Summary
This chapter covered three different approaches to testing OSG i applications:
Bundling existing non- OSG i tests to run inside OSG i
Mocking existing OSG i tests to run outside of OSG i
Using OSG i test tools to automate test deployment
In an ideal world, you'd use a combination of these three approaches to test all your
code, both inside and outside one or more OSG i containers. In the real world, proj-
ects have deadlines and developers need their sleep, so we suggest using tools such as
Pax Exam to automate as much of the test-bundling and -deployment work as possi-
ble. These tests should grow along with your application, giving you confidence that
you do indeed have a robust, modular application. But what should you do if one of
your tests fails inside OSG i? What tools and techniques can you apply to find the solu-
tion? Help is available in chapter 8.
Search WWH ::




Custom Search