Skip to content

Improved fluent api and added tests of generated classes

Latest
Compare
Choose a tag to compare
@tobiasstamann tobiasstamann released this 26 Jan 23:31
· 67 commits to develop since this release

We have introduced an improved fluent api with this release.
The Test are started by using the Cute class now.

Additionally, testing of generated classes has been added.

Upgrade guide for existing projects already using Cute

We have moved the old api to the cute-legacy module, so you can decide whether to migrate new api or stay with the old one with little changes needed.

        <dependency>
            <groupId>io.toolisticon.cute</groupId>
            <artifactId>cute-legacy</artifactId>
            <version>1.0.0</version>
        </dependency>

Unfortunately the fluent api interfaces had to be moved from the CompileTestBuilder class to the CompileTestBuilderApi class.
In case if you have shared fluent api configuration between tests, you need to update imports and Types in variable declarations.

You can use both legacy and new api in parallel!