Skip to content
New issue

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

[JUnit5] Inject list of forgeries #45

Closed
xgouchet opened this issue Nov 15, 2019 · 0 comments
Closed

[JUnit5] Inject list of forgeries #45

xgouchet opened this issue Nov 15, 2019 · 0 comments
Milestone

Comments

@xgouchet
Copy link
Owner

In a Junit5 test, it would be nice to be able to write (assuming a Forgery of Foo is available) :

``
`
class A {
@forgery lateinit var fakeList : List

@Test
fun test(@Forgery list : List<Foo>) {
    // …
}

}
`
``

@xgouchet xgouchet added this to the Elmyr 1.0 milestone Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant