You can use ERB to format each test case. <%= request.method %> <%= request.path %> <%= request.params %> <%= response.body %> <%= note %>