March 2001
Intermediate to advanced
416 pages
10h 27m
English
Sequential processing of program statements is the “default” model of computation. In this section we will discuss some other models and briefly talk about the testing implications of each.
The concurrent model of computation introduces a logical notion of multiple things happening at the same time. Physically it may or may not be possible for two things to happen at the exact same time, but a design must be constructed to assume that things are happening at the same time. The introduction of light-weight threads into recent operating systems have made this model easy to realize.
Testing for concurrency defects should focus on those points at which two threads interact. Methods should receive the typical testing ...
Read now
Unlock full access