Skip to content

Commit a34a60b

Browse files
Release 3.4.2 (#140)
1 parent 8d2c1a2 commit a34a60b

12 files changed

Lines changed: 51 additions & 14 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
## What's New? ##
44

5-
* The latest version ([Tcases 3.4.1](ReleaseNotes.md#341)) is now available at the Maven Central Repository.
5+
* The latest version ([Tcases 3.4.2](ReleaseNotes.md#342)) is now available at the Maven Central Repository.
66
See [*How To Download Tcases*](HowToDownload.md) for download instructions.
77

8-
* Tcases 3.4.1 is a patch release to fix problems in the Maven plugin and the CLI.
9-
See the [release notes](ReleaseNotes.md#341) for details.
8+
* Tcases 3.4.2 provide improvements for several Tcases components.
9+
See the [release notes](ReleaseNotes.md#342) for details.
1010

1111
* Subscribe to the [Tcases Forum](https://groups.google.com/d/forum/tcases) group to get notifications and share experiences with other Tcases users.
1212

ReleaseNotes.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,42 @@
11
# Release Notes #
22

3+
## 3.4.2 ##
4+
5+
This release provides the following improvements:
6+
7+
* **CLI**
8+
9+
* Unix shell commands simplified by consolidating common steps using the `tcases-exec` command.
10+
11+
* **Tcases for OpenAPI**
12+
13+
* Request test case resolution now produces values that satisfy specified "pattern" assertions.
14+
[[104](https://github.com/Cornutum/tcases/issues/104)]
15+
16+
* Request test case resolution now produces values that correctly satisfy specified "multipleOf" assertions.
17+
18+
* In certain cases, request test case resolution now produces more useful test cases for "string" and "array" inputs.
19+
For example, for a "string" that defines a "maxLength" but no "minLength", generated success cases will supply either
20+
an empty string, a string with the maximum length, or a string with some random length less than the maximum.
21+
But, in previous versions, that random length might be 0, often producing a duplicate test case. The current
22+
version fixes that to ensure random lengths are non-zero. The same fix applies also to "array" values that define a
23+
"maxItems" but no "minItems".
24+
25+
* At least one test case is created for each request defined, even for a request that has no parameters or request body.
26+
[[132](https://github.com/Cornutum/tcases/issues/132)]
27+
28+
* `api-test` now produces only executable test cases that are uniquely "realizable". Previously, some test cases
29+
turned out to be either duplicates or infeasible because of the way inputs were serialized into HTTP messages.
30+
For example, a query parameter value of `null` is indistinguishable from an empty string. Similarly, a test case
31+
to verify a failure when an query parameter expecting a string value is given a non-string is not actually
32+
realizable when all inputs are serialized as simple strings. [[133](https://github.com/Cornutum/tcases/issues/133)]
33+
34+
* Upgraded to latest swagger-parser version 2.0.21.
35+
36+
* **Core**
37+
38+
* No more bogus warnings about unused properties for properties that are referenced only by cardinality conditions.
39+
340
## 3.4.1 ##
441

542
This is a patch release to fix the following problems.

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>org.cornutum.tcases</groupId>
88
<artifactId>tcases</artifactId>
99
<packaging>pom</packaging>
10-
<version>3.4.2-SNAPSHOT</version>
10+
<version>3.4.2</version>
1111

1212
<name>Tcases</name>
1313
<description>Generates test cases from system input space models</description>

tcases-ant/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.cornutum.tcases</groupId>
99
<artifactId>tcases</artifactId>
10-
<version>3.4.2-SNAPSHOT</version>
10+
<version>3.4.2</version>
1111
</parent>
1212

1313
<artifactId>tcases-ant</artifactId>

tcases-cli/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.cornutum.tcases</groupId>
99
<artifactId>tcases</artifactId>
10-
<version>3.4.2-SNAPSHOT</version>
10+
<version>3.4.2</version>
1111
</parent>
1212

1313
<artifactId>tcases-cli</artifactId>

tcases-io/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.cornutum.tcases</groupId>
99
<artifactId>tcases</artifactId>
10-
<version>3.4.2-SNAPSHOT</version>
10+
<version>3.4.2</version>
1111
</parent>
1212

1313
<artifactId>tcases-io</artifactId>

tcases-lib/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.cornutum.tcases</groupId>
99
<artifactId>tcases</artifactId>
10-
<version>3.4.2-SNAPSHOT</version>
10+
<version>3.4.2</version>
1111
</parent>
1212

1313
<artifactId>tcases-lib</artifactId>

tcases-maven-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.cornutum.tcases</groupId>
99
<artifactId>tcases</artifactId>
10-
<version>3.4.2-SNAPSHOT</version>
10+
<version>3.4.2</version>
1111
</parent>
1212

1313
<artifactId>tcases-maven-plugin</artifactId>

tcases-moco/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.cornutum.tcases</groupId>
99
<artifactId>tcases</artifactId>
10-
<version>3.4.2-SNAPSHOT</version>
10+
<version>3.4.2</version>
1111
</parent>
1212

1313
<artifactId>tcases-moco</artifactId>

tcases-openapi/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.cornutum.tcases</groupId>
99
<artifactId>tcases</artifactId>
10-
<version>3.4.2-SNAPSHOT</version>
10+
<version>3.4.2</version>
1111
</parent>
1212

1313
<artifactId>tcases-openapi</artifactId>
@@ -63,7 +63,7 @@
6363
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6464
<project.build.date>${maven.build.timestamp}</project.build.date>
6565
<maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format>
66-
<tcases.maven.version>3.4.0</tcases.maven.version>
66+
<tcases.maven.version>3.4.2</tcases.maven.version>
6767
</properties>
6868

6969
<build>

0 commit comments

Comments
 (0)