We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DIvide Given<C,G> into
Given<C,G>
Given<C, G>
Before<C>
After<C>
with methods
interface BeforeCallback<C, G> { infix operator fun plus(given: Given<C, G>): Given<C,G> } interface Given<C,G> { infix operator fun plus(after: After<C>): Given<C, G> }
and make dsl like
object ExampleSpec: KtCheck by Before<C>({ C() }) + Given<C, G>({ makeG() }) .When<C,G,W>({ makeW(it) }) .Then<C,G,W>({ _, r -> r shouldBe something() }) + After<C>({ tearDown() })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
DIvide
Given<C,G>
intoGiven<C, G>
Before<C>
After<C>
with methods
and make dsl like
The text was updated successfully, but these errors were encountered: