Java Reference
In-Depth Information
Figure 5.6 The different types of tests performed on each platform of the
development cycle
Usually, only a subset of all functional tests is run on the integration platform,
because compared to the target production platform, it's a simple platform
that lack elements (for example, it may be missing a connection to an exter-
nal system being accessed). All types of unit tests are executed on the integra-
tion platform (logic unit tests, integration unit tests, and functional unit tests).
Time is less important, and the whole build can take several hours with no
impact on development.
On the acceptance platform/stress test platform , you reexecute the same tests exe-
cuted by the integration platform; in addition, you run stress tests (perfor-
mance and load tests). The acceptance platform is extremely close to the
production platform, and more functional tests can also be executed.
It's always a good habit to try to run on the ( pre-)production platform the tests you
ran on the acceptance platform. Doing so acts as a sanity check to verify that
everything is set up correctly.
Human beings are strange creatures, always tending to neglect details. In a perfect
world, we'd have all four platforms to run our tests on. In the real world, however,
most of the software companies try to skip some of the platforms we listed—or the
concept of testing as a whole. As a developer who bought this topic, you already made
the right decision: more tests, less debugging!
Now, again, it's up to you. Are you going to strive for perfection, stick to everything
that you learned so far, and let your code benefit from that?
 
Search WWH ::




Custom Search