Skip to content

Commit 503d16e

Browse files
Release 3.6.0 (#174)
1 parent f20b0fd commit 503d16e

17 files changed

Lines changed: 69 additions & 24 deletions

File tree

README.md

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

33
## What's New? ##
44

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

8-
* Tcases 3.5.1 provides improvements to Tcases for OpenAPI. See the [release notes](ReleaseNotes.md#351) for details.
8+
* Tcases 3.6.0 provides improvements to Tcases for OpenAPI. See the [release notes](ReleaseNotes.md#360) for details.
99

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

ReleaseNotes.md

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

3+
## 3.6.0 ##
4+
5+
This release adds new options for Tcases for OpenAPI to improve the quality of generated executable tests.
6+
7+
* **Test method timeout** [[171](https://github.com/Cornutum/tcases/issues/171)]
8+
9+
Each test method submits a single API request, but it's possible for a faulty request to run forever. To handle this
10+
situation, you can specify a timeout that defines the maximum time (in milliseconds) to complete an individual test
11+
method. If a method continues past this time limit, a test failure occurs. When running `tcases-api-test` from the command
12+
line, use the `-u` option (for details, run `tcases-api-test -help`). When using Maven to run `tcases:api-test`, use
13+
the `timeout` option (for details, run `mvn tcases:help -Dgoal=api-test -Ddetail=true`).
14+
15+
* **Generate a separate test file for each API resource path** [[168](https://github.com/Cornutum/tcases/issues/168)]
16+
17+
By default, Tcases for OpenAPI creates a single test source file that contains the test cases generated for all resource
18+
paths defined by the OpenAPI spec. But that can be unwieldy for an extensive API that defines a large number of
19+
endpoints. To better deal with this situation, you have the option to generate multiple test source files, each containing
20+
the test cases for a single API resource path. When running `tcases-api-test` from the command
21+
line, use the `-S` option (for details, run `tcases-api-test -help`). When using Maven to run `tcases:api-test`, use
22+
the `byPath` option (for details, run `mvn tcases:help -Dgoal=api-test -Ddetail=true`).
23+
324
## 3.5.1 ##
425

526
This release provides improvements to Tcases for OpenAPI when generating API tests using the

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.5.2-SNAPSHOT</version>
10+
<version>3.6.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>3.5.2-SNAPSHOT</version>
10+
<version>3.6.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>3.5.2-SNAPSHOT</version>
10+
<version>3.6.0</version>
1111
</parent>
1212

1313
<artifactId>tcases-cli</artifactId>

tcases-cli/src/main/java/org/cornutum/tcases/openapi/ApiTestCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1612,7 +1612,7 @@ public static void run( Options options) throws Exception
16121612
testTarget.setDir( apiSpecFile.getParentFile());
16131613
}
16141614

1615-
logger_.info( "Writing API test using {} and {}", testWriter, testCaseWriter);
1615+
logger_.info( "Writing API tests using {} and {}", testWriter, testCaseWriter);
16161616
if( options.isByPath())
16171617
{
16181618
String testBaseName = getTestName( testWriter, testSource, testTarget);

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.5.2-SNAPSHOT</version>
10+
<version>3.6.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>3.5.2-SNAPSHOT</version>
10+
<version>3.6.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>3.5.2-SNAPSHOT</version>
10+
<version>3.6.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>3.5.2-SNAPSHOT</version>
10+
<version>3.6.0</version>
1111
</parent>
1212

1313
<artifactId>tcases-moco</artifactId>

0 commit comments

Comments
 (0)