matryer / silk

Markdown based document-driven RESTful API testing.
http://silktest.org/
GNU General Public License v2.0
942 stars 69 forks source link

silk middleware #23

Open robmurtha opened 8 years ago

robmurtha commented 8 years ago

As a Developer I want to Record tests to silk files As I manually test my application.

Concept Provide a middleware handler(s) with flags to enable a record mode and options. The middleware would generate a silk compatible file including the HTTP method and related request parameters, headers, status and response. Start with the standard library http, then adapt to specific frameworks that have more advanced routers.

Proof of Concept Handle POST request and response for a form. Produce an acceptable set of silk test document(s) for a series of requests.