#87: Running Tests Asynchronously

Duration

8:17

Tools used

RSpec 2.12.2

Ruby 1.9.3

tmux 1.5

Vim 7.3

Published

2013-02-07

In most Destroy All Software screencasts, the tests are run synchronously: the test process is forked from the editor and blocks the terminal. This screencast shows another option: running tests asynchronously in another split. First, we use tmux, which is a common approach. Then, we do it using Unix primitives: a named pipe to communicate between the two windows, and a shell script to manage the communication.