See <http://github.com/citrusbyte/contest> for more info. The contest.rb file is included under the test/ directory.
Example: module Sinatra module RouteAddedExtSample def self.route_added(verb, path) p [verb, path] end end register RouteAddedExtSample end post '/' do do_something 'ok' end Output: ["POST", "/"] move superclass logic into extensions attr reader