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

spring autoconfiguration for JGiven #153

Merged
merged 2 commits into from
Oct 27, 2015
Merged

Conversation

TripleNail
Copy link
Contributor

As suggested by Jan there should be less boilerplate code needed for JGiven users to enable spring support. Use @EnableJGiven in case of a java based spring configuration, or use <jgiven:annotation-driven /> in case of an xml based spring configuration.

See unit tests of jgiven-spring package for more examples.

For java based configuration use @EnableJGiven,
for xml based configuration use <jgiven:annotation-driven />
see tests for example
@janschaefer
Copy link
Contributor

Very cool, thanks a lot!

@janschaefer janschaefer added this to the v0.10.0 milestone Oct 27, 2015
janschaefer added a commit that referenced this pull request Oct 27, 2015
@janschaefer janschaefer merged commit b3c6b81 into TNG:master Oct 27, 2015
@janschaefer janschaefer modified the milestones: v0.9.4, v0.10.0 Oct 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants