From 823f0cfa48532f7104a79c82782ba6b3fdff6ab6 Mon Sep 17 00:00:00 2001 From: Robert Wallach Date: Tue, 6 Mar 2018 15:10:21 -0600 Subject: [PATCH 1/3] Update contract-testing.md --- articles/testing/contract-testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/testing/contract-testing.md b/articles/testing/contract-testing.md index 4f08211..b8f0521 100644 --- a/articles/testing/contract-testing.md +++ b/articles/testing/contract-testing.md @@ -20,7 +20,7 @@ Benefits of contract testing include: - **Single Source of Truth**: Your API specification is the single source of truth that describes your API. From it, you can generate documentation, SDKs, mock servers, and more. Incorporating the specification into your testing - pipeline ensures that the it accurately represents your API implementation + pipeline ensures that it accurately represents your API implementation over time. From fb465246cda4c1c344926125be985b5f9983f2f9 Mon Sep 17 00:00:00 2001 From: Robert Wallach Date: Tue, 6 Mar 2018 15:16:28 -0600 Subject: [PATCH 2/3] Update contract-testing.md --- articles/testing/contract-testing.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/articles/testing/contract-testing.md b/articles/testing/contract-testing.md index b8f0521..9723eb0 100644 --- a/articles/testing/contract-testing.md +++ b/articles/testing/contract-testing.md @@ -41,7 +41,7 @@ generate a scenario from an OpenAPI specification. To get started: You are all set! Once the specification has been connected, you can automatically generate a contract testing scenario for your spec using the -Coverge Report, described below. +Coverge Report, as described below. ## Using the Coverage Report @@ -50,12 +50,15 @@ specs are covered by test assertions in the current Scenario Collection. You can use the coverage report to quickly stub out a new scenario. To start: -1. Click the status codes in the table matrix for the steps you want to add to - your scenario. Note that the order in which the endpoints are clicked - determines the order in which they will appear in the scenario. For example, - if an API object needs to be created before it can be removed, then you will - want to choose the 'create object' endpoint before the 'delete object' - endpoint. +1. Click the **status codes** in the table matrix for the steps you want to add to + your scenario. + +<-- theme:info --> +> Note that the order in which the endpoints are clicked +determines the order in which they will appear in the scenario. For example, +if an API object needs to be created before it can be removed, then you will +want to choose the 'create object' endpoint before the 'delete object' +endpoint. 2. Once all of the desired endpoints have been selected, click the __Create Scenario__ button in the top right to generate the scenario. From fb54460cbac1836bdb243d6935bb83a5f7c04e80 Mon Sep 17 00:00:00 2001 From: Robert Wallach Date: Tue, 6 Mar 2018 15:54:15 -0600 Subject: [PATCH 3/3] Update contract-testing.md --- articles/testing/contract-testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/testing/contract-testing.md b/articles/testing/contract-testing.md index 9723eb0..486bd4d 100644 --- a/articles/testing/contract-testing.md +++ b/articles/testing/contract-testing.md @@ -53,7 +53,7 @@ You can use the coverage report to quickly stub out a new scenario. To start: 1. Click the **status codes** in the table matrix for the steps you want to add to your scenario. -<-- theme:info --> + > Note that the order in which the endpoints are clicked determines the order in which they will appear in the scenario. For example, if an API object needs to be created before it can be removed, then you will