November 2018
Intermediate to advanced
446 pages
12h 11m
English
In this chapter, we will consider two distinct topics of testing, with regard to concurrency: testing concurrent programs and testing programs concurrently. When it comes to testing concurrent programs, the general consensus is that it is extremely demanding and difficult to get right. As you saw in previous chapters, bugs such as deadlocks or race conditions can be quite subtle in a concurrent program, and can manifest themselves in many ways.
Furthermore, one distinct feature of concurrency is nondeterminism, which means that it is possible for a concurrency bug to be detected in one run of the test and become invisible in another. This is because a major component of concurrent programming is the scheduling ...
Read now
Unlock full access