From c03fd0f90bf5572682a722cd8aed64116e3d2db4 Mon Sep 17 00:00:00 2001 From: Kerry Kimbrough Date: Thu, 27 Oct 2022 17:20:08 -0500 Subject: [PATCH] Release 3.8.5 (#252) --- README.md | 4 ++-- ReleaseNotes.md | 30 ++++++++++++++++++++++++++++++ pom.xml | 2 +- tcases-ant/pom.xml | 2 +- tcases-cli/pom.xml | 2 +- tcases-io/pom.xml | 2 +- tcases-lib/pom.xml | 2 +- tcases-maven-plugin/pom.xml | 2 +- tcases-moco/pom.xml | 2 +- tcases-openapi-test/pom.xml | 2 +- tcases-openapi/pom.xml | 4 ++-- tcases-rest-assured/pom.xml | 2 +- tcases-shell/pom.xml | 2 +- 13 files changed, 44 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 5f2e3fd4..3635a373 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ [![javadoc](https://javadoc.io/badge2/org.cornutum.tcases/tcases-shell/javadoc.svg?style=plastic)](https://javadoc.io/doc/org.cornutum.tcases/tcases-shell) ## What's New? ## - * The latest version ([Tcases 3.8.4](ReleaseNotes.md#384)) is now available at the Maven Central Repository. + * The latest version ([Tcases 3.8.5](ReleaseNotes.md#385)) is now available at the Maven Central Repository. See [*How To Download Tcases*](HowToDownload.md) for download instructions. - * Tcases 3.8.4 provides improvements to Tcases for OpenAPI. See the [release notes](ReleaseNotes.md#384) for details. + * Tcases 3.8.5 provides improvements to Tcases for OpenAPI. See the [release notes](ReleaseNotes.md#385) for details. * Having trouble with Tcases? Check out [these tips](./Troubleshooting-FAQs.md). diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 58b63f08..4d0c73e2 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,5 +1,35 @@ # Release Notes # +## 3.8.5 ## + +This release provides the following improvements to Tcases for OpenAPI. + + * **New option to handle untrusted API servers** + + When generated tests perform API requests using HTTPS, the API server is normally required to + verify that it can be trusted by presenting a valid server certificate. But during testing, this + might not be possible. For example, the test server might not have a certificate, or it may not + be possible to verify that the certificate is trusted in the test environment. To handle this + situation, you can generate tests by running `tcases-api-test` with the new `-V` option (or, if + using Maven, by running `tcases:api-test` with the `-DtrustServer=true` parameter). This produces + tests that connect to the API without checking the server certificate. + + * **Better message when schema type is inconsistent or ambiguous** + + Tcases for OpenAPI doesn't accept an OpenAPI definition that contains a [type-ambiguous + schema](tcases-openapi/README.md#openapi-tips). For example, see [this + discussion](https://github.com/Cornutum/tcases/discussions/251). But if one is found, you'll now + see a more helpful error message that identifies the cause of the problem. + + * **Better handling of generated helper methods** + + The source code for generated tests includes certain helper methods, such as `isBadRequest()`, etc. In this + release, such methods are included only if they are needed -- no more "unused private method" warnings. + + * **Upgraded dependencies** + + Upgraded to swagger-parser 2.1.6. + ## 3.8.4 ## This release provides the following improvements to Tcases for OpenAPI. diff --git a/pom.xml b/pom.xml index 6016d12d..e5286476 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases pom - 3.8.5-SNAPSHOT + 3.8.5 Tcases Generates test cases from system input space models diff --git a/tcases-ant/pom.xml b/tcases-ant/pom.xml index bde358ac..68338af3 100644 --- a/tcases-ant/pom.xml +++ b/tcases-ant/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.5-SNAPSHOT + 3.8.5 tcases-ant diff --git a/tcases-cli/pom.xml b/tcases-cli/pom.xml index a5c72d16..18f2346c 100644 --- a/tcases-cli/pom.xml +++ b/tcases-cli/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.5-SNAPSHOT + 3.8.5 tcases-cli diff --git a/tcases-io/pom.xml b/tcases-io/pom.xml index c135d90f..73fd5f7e 100644 --- a/tcases-io/pom.xml +++ b/tcases-io/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.5-SNAPSHOT + 3.8.5 tcases-io diff --git a/tcases-lib/pom.xml b/tcases-lib/pom.xml index 740cd552..9279400a 100755 --- a/tcases-lib/pom.xml +++ b/tcases-lib/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.5-SNAPSHOT + 3.8.5 tcases-lib diff --git a/tcases-maven-plugin/pom.xml b/tcases-maven-plugin/pom.xml index c7f0b0ca..d5866ea4 100755 --- a/tcases-maven-plugin/pom.xml +++ b/tcases-maven-plugin/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.5-SNAPSHOT + 3.8.5 tcases-maven-plugin diff --git a/tcases-moco/pom.xml b/tcases-moco/pom.xml index cb711f54..17e84603 100644 --- a/tcases-moco/pom.xml +++ b/tcases-moco/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.5-SNAPSHOT + 3.8.5 tcases-moco diff --git a/tcases-openapi-test/pom.xml b/tcases-openapi-test/pom.xml index ea1a74bc..5c21955e 100644 --- a/tcases-openapi-test/pom.xml +++ b/tcases-openapi-test/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.5-SNAPSHOT + 3.8.5 tcases-openapi-test diff --git a/tcases-openapi/pom.xml b/tcases-openapi/pom.xml index 46b48811..e660ca2c 100644 --- a/tcases-openapi/pom.xml +++ b/tcases-openapi/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.5-SNAPSHOT + 3.8.5 tcases-openapi @@ -54,7 +54,7 @@ UTF-8 ${maven.build.timestamp} yyyy-MM-dd - 3.8.2 + 3.8.5 diff --git a/tcases-rest-assured/pom.xml b/tcases-rest-assured/pom.xml index 9e01f38f..9a54d146 100644 --- a/tcases-rest-assured/pom.xml +++ b/tcases-rest-assured/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.5-SNAPSHOT + 3.8.5 tcases-rest-assured diff --git a/tcases-shell/pom.xml b/tcases-shell/pom.xml index 76480aa3..53d2fbf0 100755 --- a/tcases-shell/pom.xml +++ b/tcases-shell/pom.xml @@ -7,7 +7,7 @@ org.cornutum.tcases tcases - 3.8.5-SNAPSHOT + 3.8.5 tcases-shell