Skip to content

Commit 35b447a

Browse files
Update for release 2.1.0 (#42)
1 parent 3d3a50d commit 35b447a

7 files changed

Lines changed: 46 additions & 9 deletions

File tree

README.md

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

33
## What's New? ##
44

5-
* The latest version (Tcases 2.0.0) is now available at the Maven Central Repository. See [HowToDownload](HowToDownload.md) for download instructions.
5+
* The latest version (Tcases 2.1.0) is now available at the Maven Central Repository. See [HowToDownload](HowToDownload.md) for download instructions.
66

7-
* Tcases 2.0.0 is a major release designed to open Tcases up to a much broader community of applications. The [features included](ReleaseNotes.md)
8-
will be especially helpful for applications that use the Tcases API to embed Tcases capabilities into larger programs.
9-
Some changes are not compatible with previous releases.
7+
* Following release 2.0.0, Tcases 2.1.0 adds [further improvements](ReleaseNotes.md) to the Tcases API.
8+
If your application uses the Tcases API, some minor changes will be required.
9+
But if you use Tcases only from the command line or with Maven, you won't see any differences.
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+
## 2.1.0 ##
4+
5+
Following release 2.0.0, this release adds further improvements to the Tcases API. If your application uses the Tcases API, some minor changes will be required.
6+
But if you use Tcases only from the command line or with Maven, you won't see any differences.
7+
8+
* Thanks to [Thibault Kruse](https://github.com/tkruse) for his suggestions and feedback on all of the key features of this release.
9+
10+
* **The "name" of a variable value can be any Java object, including `null`**
11+
* The Java object that represents a variable value is no longer limited to a `String`. Accessor data types have changed from `String` to `Object`.
12+
Null values are now allowed.
13+
* This affects the public interface to `VarDef`, `VarValueDef`, and `VarBinding`.
14+
* When reading the XML representation of a system input definition (`*-Input.xml`), the `name` attribute of a `Value` element is automatically converted
15+
to an appropriate Java object.
16+
* A numeric value is converted to either an `Integer`, a `Long`, or a `BigDecimal` object.
17+
* The strings `"true"` and `"false"` (in any combination of upper- and lower-case) are converted to `Boolean` objects.
18+
* The string `"null"` is converted to a null `Object`.
19+
* All other values are converted to `String` objects.
20+
* When reading the XML representation of a system test definition (`*-Test.xml`), the same conversions are applied to the `value` attribute of a `Var` element.
21+
22+
* **Reducer API**
23+
* The `Reducer` class now provides `reduce` methods that operate directly at the API level.
24+
* Command line support for the Reducer has been relocated to a new `ReducerCommand` class.
25+
* The command line option for defining a "generator factory" -- the `-G` option and corresponding Maven property `genFactory` -- is now obsolete and has been removed.
26+
27+
* **Saving system input definitions**
28+
* The new `SystemInputDocWriter` class now makes it possible to save a system input definition as an XML document compatible with
29+
`SystemInputDocReader`.
30+
31+
* **Builders! Matchers!**
32+
* For each of the major entities in the Tcases API there is now a `*Builder` class that provides a "fluent" API for simpler construction of a complex object.
33+
* Let's show some love for unit tests, too! For most Tcase entities, there is now a `*Matcher` class that enables more powerful test
34+
assertions. By using `Asserts.assertMatches()` with a `Matcher` instead of `assertEquals`, you get more than a yes/no answer. Instead, you
35+
see exactly which field in a complex object contains the discrepancy. By using `Asserts.assertSetEquals()` with a `Matcher`, you see exactly
36+
which elements of a collection of complex objects are wrong and why.
37+
* With detailed comparison now handled by the `Matcher` classes, the corresponding `equals`
38+
methods have changed to provide a narrower "primary key" definition of equality.
39+
340
## 2.0.0 ##
441

542
* This is a major release designed to open Tcases up to a much broader community of applications. The features included will be

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>2.0.1-SNAPSHOT</version>
10+
<version>2.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>2.0.1-SNAPSHOT</version>
10+
<version>2.1.0</version>
1111
</parent>
1212

1313
<artifactId>tcases-ant</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>2.0.1-SNAPSHOT</version>
10+
<version>2.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>2.0.1-SNAPSHOT</version>
10+
<version>2.1.0</version>
1111
</parent>
1212

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

tcases-shell/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>2.0.1-SNAPSHOT</version>
10+
<version>2.1.0</version>
1111
</parent>
1212

1313
<artifactId>tcases-shell</artifactId>

0 commit comments

Comments
 (0)