The Java Swing test application must be up and running for these tests to work. When executing the tests, you can specify the host in which the test application is running in the following manner: > cabal test --test-options=10.0.2.2 Default is localhost.