<% @stylesheets.each do |css| -%> <%= stylesheet_link_tag css %> <% end -%> <% @tests.each do |test| -%> <%= javascript_include_tag test %> <% end -%>

Override this test runner with your own at app/views/sandbox_assets/test_runner/index.html.erb. The test list to include are available at @tests:

And those stylesheets will be also included:

Here is the source for this file (<%= __FILE__ %>):

<%= IO.read __FILE__ %>