Fourth in my "black pipe testing" series. How do you test your MongoDB application's reaction to database failures, hangs, and disconnects?
The fourth "black pipe testing" article: testing the MongoDB C Driver with mock_server_t.
The third "black pipe testing" article: testing libmongoc with MockupDB, a wire protocol server written in Python.
The second "black pipe testing" article: testing PyMongo with MockupDB.
Traditional "black box" testing can't fully validate MongoDB clients and other connected applications. Here's a convenient way to test the whole program.