An overwhelming number of documentation annotations make for great docs but “they don’t necessarily have a good impact on source code”. Then, something changes and the docs are out of date again. That is where a test-driven approach comes in handy. Test-driven documentation solutions such as Spring REST Docs generate example snippets for requests and responses from tests ensuring both code coverage and accurate documentation. It can even fail the build when documentation becomes out of date. This session will walk you through how to implement test-driven documentation solutions.