![]() ![]() Acceptance Test DocumentationĪt the root of the repository’s Acceptance Test folder, we include a README that explains how to set up Postman for use with these tests. For each acceptance test, we follow the familiar Arrange/Act/Assert test pattern. We store both the documentation and the Postman Collection files in the same repository as the project’s codebase in order to make them accessible to anyone who may need them in the future. In addition to Postman Collections, we write documentation for each acceptance test so that the user has insight into the system’s expected behavior. We also use Postman’s built-in test framework to make assertions on responses and to automatically save off values that will be needed in the subsequent requests. ![]() Our team leverages Postman’s Collection feature to implement sets of requests that guide the user through specific end-to-end feature workflows. While it’s common for developers to use Postman as a tool during API development, we typically stop at creating a basic set of requests that target each of the endpoints.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |