Git Product home page Git Product logo

jgiven-kotlin's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jgiven-kotlin's Issues

support assertj assertions for expected events

The default "expectEvent(s)" does an equals comparison of the caught events and passed expected events, which fails when values are set in the commandhandler that are not under control of the caller (generated aggregateId, generated timestamps, ...).

Idea: capture the actual events as in mockitos ArgumentCaptor and then assert manually on that list of events.

parameter formatter for kotlin varargs

A vararg collection in my test report is rendered as Then expect events: "[Ljava.lang.Object;@5a90fcaa".

Kotlins varargs are not correctly identified as List by the core tool.

There has been an open issue and PR for years now, let's move it to this extension, and maybe one day, when jgiven supports kotlin natively, we can throw it away again.

see: https://github.com/TNG/JGiven/pull/352/files

switch to 4-digit semVer

Assuming this lib is stable, we used the same version as jgiven. But what if we need/want to provide new versions of this extension for the same jgiven-version?

Solution: use 4 digits. the first 3 are the used jgiven version (1.2.2), the last our "build number" for the extension.

next release would be 1.2.2.1

use maven-parent-kotlin-base

we can save 500 lines of xml and centralize core dep-management if we switch to the common parent for kotlin libs.

provide additional modules for junit5 and spring-junit5

jgiven-kotlin has no transitive dependency to jgiven, this reuires additional dependencies in the project using this extension. We should leave this as is for the core but provide modules for spring-junit5 and junit5 to make usage of jgiven with kotlin easier ...

Imho there is no need to provide junit4 modules as well.

release 1.0.0

This lib is pretty much feature complete ... I would couple the release version to jgiven and say: this is a 1.0.0 now.
Objections, @zambrovski ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.