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

factory method for creating Case instance #37

Closed
mikosik opened this issue Nov 30, 2015 · 1 comment
Closed

factory method for creating Case instance #37

mikosik opened this issue Nov 30, 2015 · 1 comment
Assignees
Milestone

Comments

@mikosik
Copy link

mikosik commented Nov 30, 2015

It would be great to have a static factory method that takes name and lambda and returns Case.

For example:

Case case = newCase("case name", () -> assertTrue(2 < 3));
@maciejmikosik maciejmikosik self-assigned this Nov 30, 2015
@maciejmikosik maciejmikosik added this to the 0.13.0 milestone Nov 30, 2015
@maciejmikosik
Copy link
Owner

created factory method for Case accepting lambda 848132b

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

2 participants