Skip to content

Commit f964201

Browse files
Release 4.1.0 (#317)
1 parent a539ce6 commit f964201

15 files changed

Lines changed: 60 additions & 36 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Tcases: A Model-Based Test Case Generator #
22

3-
[![Maven](https://img.shields.io/badge/maven-4.0.5-green.svg)](https://search.maven.org/search?q=tcases-shell)
4-
[![Javadoc](https://img.shields.io/badge/javadoc-4.0.5-green.svg)](https://javadoc.io/doc/org.cornutum.tcases/tcases-shell)
3+
[![Maven](https://img.shields.io/badge/maven-4.1.0-green.svg)](https://search.maven.org/search?q=tcases-shell)
4+
[![Javadoc](https://img.shields.io/badge/javadoc-4.1.0-green.svg)](https://javadoc.io/doc/org.cornutum.tcases/tcases-shell)
55

66
## What's New? ##
7-
* The latest version ([Tcases 4.0.5](ReleaseNotes.md#405)) is now available at the Maven Central Repository.
7+
* The latest version ([Tcases 4.1.0](ReleaseNotes.md#410)) is now available at the Maven Central Repository.
88
See [*How To Download Tcases*](HowToDownload.md) for download instructions.
99

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

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+
## 4.1.0 ##
4+
5+
This release provides the following improvements to Tcases for OpenAPI.
6+
7+
* **More info for TestWriter and TestCaseWriter authors**
8+
9+
Want to add support for non-Java test cases or different test frameworks? There's some things you need to know. And now you can find them
10+
in the new guide to [_Using the TestWriter API_](tcases-openapi/Using-TestWriter-API.md).
11+
12+
* **TestWriter annotations**
13+
14+
To support test case generation for different test frameworks, new `TestWriter` implementations using the
15+
[`ApiTestWriter`](https://www.cornutum.org/tcases/docs/api/org/cornutum/tcases/openapi/testwriter/ApiTestWriter.html)
16+
annotation can be integrated at runtime.
17+
Similarly, the
18+
[`ApiTestCaseWriter`](https://www.cornutum.org/tcases/docs/api/org/cornutum/tcases/openapi/testwriter/ApiTestCaseWriter.html)
19+
and
20+
[`ApiTestTarget`](https://www.cornutum.org/tcases/docs/api/org/cornutum/tcases/openapi/testwriter/ApiTestTarget.html)
21+
annotations can be used to integrate new `TestCaseWriter` and `TestTarget` implementations, respectively. For details, see
22+
[_Using the TestWriter API_](tcases-openapi/Using-TestWriter-API.md).
23+
24+
* **Exclude success or failure cases**
25+
26+
It can be helpful to generate success cases and failure cases separately. For example, you might want to generate success cases
27+
based on OpenAPI examples but generate random failures based on OpenAPI schemas. (See discussion [318](https://github.com/Cornutum/tcases/discussions/318).)
28+
To exclude success cases, use the `-xs` option of the `tcases-api-test` command (or `-DexcludeSuccess=true` if using the Maven `tcases:api-test` goal).
29+
Similarly, to exclude failure cases, use the `-xf` option of the `tcases-api-test` command (or `-DexcludeFailure=true` if using the Maven `tcases:api-test` goal).
30+
31+
* **Fixed generated base class import** [[313](https://github.com/Cornutum/tcases/issues/313)]
32+
33+
Yikes! When the base class for the generated test class is in a different package, the generated `import` statement
34+
was missing a final ';'. But not anymore.
35+
36+
* **Upgraded dependencies**
37+
38+
Upgraded to swagger-parser 2.1.25.
39+
340
## 4.0.5 ##
441

542
This release provides the following improvements.

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>4.1.0-SNAPSHOT</version>
10+
<version>4.1.0</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>4.1.0-SNAPSHOT</version>
10+
<version>4.1.0</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>4.1.0-SNAPSHOT</version>
10+
<version>4.1.0</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>4.1.0-SNAPSHOT</version>
10+
<version>4.1.0</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>4.1.0-SNAPSHOT</version>
10+
<version>4.1.0</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>4.1.0-SNAPSHOT</version>
10+
<version>4.1.0</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>4.1.0-SNAPSHOT</version>
10+
<version>4.1.0</version>
1111
</parent>
1212

1313
<artifactId>tcases-moco</artifactId>

tcases-openapi-test/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>4.1.0-SNAPSHOT</version>
10+
<version>4.1.0</version>
1111
</parent>
1212

1313
<artifactId>tcases-openapi-test</artifactId>

0 commit comments

Comments
 (0)