Example of testing for Rack::FiberPool with EM-Synchrony and Rack::Test
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.rvmrc
Gemfile
README
app.rb
config.ru
test.rb

README

~/code/async/rack-em-fibers-testing $ be ruby test.rb 
Loaded suite test
Started
E
Finished in 0.021999 seconds.

  1) Error:
test_0001_returns_google_com_with_em(AppSpec::AnyRequestSpec):
RuntimeError: eventmachine not initialized: evma_connect_to_server
...

1 tests, 0 assertions, 0 failures, 1 errors, 0 skips

Test run options: --seed 23463