Organizational stats
toolisticon / jgiven-addons Goto Github PK
View Code? Open in Web Editor NEWkotlin extension for jgiven
License: Apache License 2.0
kotlin extension for jgiven
License: Apache License 2.0
We should let the version
0.18.1 is out
Currently the library is released to jcenter. Using it in maven has two drawbacks comparing with maven central from sonatype:
Our internal project used
testImplementation("io.toolisticon.addons.jgiven:jgiven-scenario:0.5.1")
out of gradle, but the same dependency can't be resolved out of Maven.
Given/When steps are often mixed, but Then steps are completely different.
Introduce a ActionAssertScenario<ACTION, ASSERT>
see https://guides.gradle.org/creating-build-scans/
deactivated during #12
The readme should provide information how to use the library (include coordinates for both gradle and maven)
its a nice pattern to use
fun `my step method`() = self().apply {
// do stuff
}
but because self() is a platform type, the IDE complains that it could be null.
Avoid this by introducing
val <X : Stage<X>> Stage<X>.self: X get() = self()!!
and use
fun `my step method`() = self.apply {
// do stuff
}
Note: we could go one step further and privde st like stage {}
which works like self.apply{}
see Kotlin/dokka#284
build is full of
Can't find node by signature `com.tngtech.jgiven.junit5.SimpleScenarioTest`, referenced at
io.toolisticon.addons.jgiven.junit5.DualScenarioTest (DualScenarioTest.kt:9). This is probably
caused by invalid configuration of cross-module dependencies
jgiven-kotlin is a pendig PR for jgiven. Once this is established and supported by the core product, this addon lib will become obsolete.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.