Skip to content

Commit

Permalink
Release 3.8.2 (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
kerrykimbrough committed May 25, 2022
1 parent 6f2212f commit f72499e
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 15 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +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.1](ReleaseNotes.md#381)) is now available at the Maven Central Repository.
* The latest version ([Tcases 3.8.2](ReleaseNotes.md#382)) is now available at the Maven Central Repository.
See [*How To Download Tcases*](HowToDownload.md) for download instructions.

* Tcases 3.8.1 provides improvements to Tcases for OpenAPI. See the [release notes](ReleaseNotes.md#381) for details.
* Tcases 3.8.2 provides improvements to Tcases for OpenAPI. See the [release notes](ReleaseNotes.md#382) for details.

* Having trouble with Tcases? Check out [these tips](./Troubleshooting-FAQs.md).

Expand Down
31 changes: 31 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# Release Notes #

## 3.8.2 ##

This release provides the following improvements to Tcases for OpenAPI.

* **Handle parameter and body input encodings correctly when "realizing" test cases**

To avoid duplicate test cases, the `tcases-api-test` command (and, for Maven, the `tcases:api-test` goal) eliminates test
cases that can't be uniquely "realized". For example, such duplicates can occur when null, empty, or undefined values are
the same when serialized as strings. (See issue #[133](https://github.com/Cornutum/tcases/issues/133).) This release updates
the "realization" logic to correctly identify duplicates, in particular when considering the encodings specified for media
types like `application/x-www-form-urlencoded`.

* **Handle null vs. empty inconsistencies correctly**

Inconsistent test cases can emerge when null and empty values are serialized identically. (For details, see issue
#[201](https://github.com/Cornutum/tcases/issues/201).) This release now correctly resolves any such inconsistency with a
warning, including for object values.

To avoid duplicate test cases, the `tcases-api-test` command (and, for Maven, the `tcases:api-test` goal) eliminates test

* **Handle LWS in media types correctly** [[237](https://github.com/Cornutum/tcases/issues/237)]

This changes fixes a defect in recognizing media type definitions, which can appear in OpenAPI definitions of
requests and responses and also in the `Content-Type` headers received from API servers. Media type definitions
containing "linear whitespace" (LWS) are now correctly decoded.

* **Upgraded dependencies**

Upgraded to swagger-parser 2.0.33.


## 3.8.1 ##

This release provides the following improvements to Tcases for OpenAPI.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>org.cornutum.tcases</groupId>
<artifactId>tcases</artifactId>
<packaging>pom</packaging>
<version>3.8.2-SNAPSHOT</version>
<version>3.8.2</version>

<name>Tcases</name>
<description>Generates test cases from system input space models</description>
Expand Down
2 changes: 1 addition & 1 deletion tcases-ant/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.cornutum.tcases</groupId>
<artifactId>tcases</artifactId>
<version>3.8.2-SNAPSHOT</version>
<version>3.8.2</version>
</parent>

<artifactId>tcases-ant</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tcases-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.cornutum.tcases</groupId>
<artifactId>tcases</artifactId>
<version>3.8.2-SNAPSHOT</version>
<version>3.8.2</version>
</parent>

<artifactId>tcases-cli</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tcases-io/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.cornutum.tcases</groupId>
<artifactId>tcases</artifactId>
<version>3.8.2-SNAPSHOT</version>
<version>3.8.2</version>
</parent>

<artifactId>tcases-io</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tcases-lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.cornutum.tcases</groupId>
<artifactId>tcases</artifactId>
<version>3.8.2-SNAPSHOT</version>
<version>3.8.2</version>
</parent>

<artifactId>tcases-lib</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tcases-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.cornutum.tcases</groupId>
<artifactId>tcases</artifactId>
<version>3.8.2-SNAPSHOT</version>
<version>3.8.2</version>
</parent>

<artifactId>tcases-maven-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tcases-moco/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.cornutum.tcases</groupId>
<artifactId>tcases</artifactId>
<version>3.8.2-SNAPSHOT</version>
<version>3.8.2</version>
</parent>

<artifactId>tcases-moco</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tcases-openapi-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.cornutum.tcases</groupId>
<artifactId>tcases</artifactId>
<version>3.8.2-SNAPSHOT</version>
<version>3.8.2</version>
</parent>

<artifactId>tcases-openapi-test</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions tcases-openapi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.cornutum.tcases</groupId>
<artifactId>tcases</artifactId>
<version>3.8.2-SNAPSHOT</version>
<version>3.8.2</version>
</parent>

<artifactId>tcases-openapi</artifactId>
Expand Down Expand Up @@ -54,7 +54,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.date>${maven.build.timestamp}</project.build.date>
<maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format>
<tcases.maven.version>3.8.1</tcases.maven.version>
<tcases.maven.version>3.8.2</tcases.maven.version>
</properties>

<build>
Expand Down
2 changes: 1 addition & 1 deletion tcases-rest-assured/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.cornutum.tcases</groupId>
<artifactId>tcases</artifactId>
<version>3.8.2-SNAPSHOT</version>
<version>3.8.2</version>
</parent>

<artifactId>tcases-rest-assured</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion tcases-shell/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.cornutum.tcases</groupId>
<artifactId>tcases</artifactId>
<version>3.8.2-SNAPSHOT</version>
<version>3.8.2</version>
</parent>

<artifactId>tcases-shell</artifactId>
Expand Down

0 comments on commit f72499e

Please sign in to comment.