Geordi Show archive.org snapshot uses parallel_tests Show archive.org snapshot if available for running the test suite. To debug an application it is very unhandy to have multiple processes as your terminal I/O will not work as expected once a breakpoint is hit.
Even parallel_tests
support an option to enable a single process run, it is not possible to pass this option through geordi. But you can set the number of processes via ENV variable
manually:
PARALLEL_TEST_PROCESSORS=1 bundle exec geordi cucumber
Alternatively, you can run the vanilla cucumber
command with Geordi's VNC niceties with
geordi firefox b cucumber
geordi chrome b cucumber # Alias
The suggestion solution is only necessary if it is relevant to run all tests. Single tests are always run single threaded:
bundle exec geordi cucumber features/some.feature
Use cases:
There are other workarounds, too:
geordi rspec spec/
(providing a path will lead to a run in a single process)bundle exec rspec
DISPLAY=:17 bundle exec cucumber
(Just like geordi uses port 17 for VNC to not see a test browser)