 <p>wait... what do you mean by test script we're using rack/test right</p> <p>imho a sinatra app will be much more test-friendly if your main app class can be started independent of config.ru</p> <p>such that you can require just 'rack/test' and 'app.rb' in your test files</p>