Book Image

Learning Cascading

Book Image

Learning Cascading

Overview of this book

Table of Contents (18 chapters)
Learning Cascading
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface
7
Optimizing the Performance of a Cascading Application
Index

Testing strategies


In this section, we will discuss three test strategies. We will start with unit testing, then discuss integration testing, and finally load testing.

Unit testing involves creating very specific test cases that ensure that individual components are working as expected. In many cases, this will be at the custom operation level. Typically unit tests are coded by the developer who created the to-be-tested code. Unit tests are also important to check when code can be broken by maintenance or fixes. In many cases, the local mode is used for unit testing.

Integration testing is used when the individual components are assembled into a more complex function or full application. Integration testing is often also called end-to-end testing. It involves not only ensuring that all processing is correct, but it typically involves negative testing where erroneous conditions such as bad data must be handled.

Load testing is performed to test the overall scalability of the application. This...