= Spring REST Docs TestNG Sample
Andy Wilkinson;
:doctype: book
:icons: font
:source-highlighter: highlightjs

Sample application demonstrating how to use Spring REST Docs with TestNG.

`SampleTestNgApplicationTests` makes a call to a very simple service and produces three
documentation snippets.

One showing how to make a request using cURL:

include::{snippets}/sample/curl-request.adoc[]

One showing the HTTP request:

include::{snippets}/sample/http-request.adoc[]

And one showing the HTTP response:

include::{snippets}/sample/http-response.adoc[]