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

Migrate from JUnit to Spock for unit tests #27

Closed
ultraq opened this issue Oct 9, 2013 · 3 comments
Closed

Migrate from JUnit to Spock for unit tests #27

ultraq opened this issue Oct 9, 2013 · 3 comments

Comments

@ultraq
Copy link
Owner

ultraq commented Oct 9, 2013

I was introduced to Spock at SpringOne 2GX and really liked what I saw :) Let's see if I can migrate my JUnit tests to Spock ones for this project, given that most of the JUnit test code is boilerplate to redirect to the Thymeleaf testing library.

@ultraq
Copy link
Owner Author

ultraq commented Mar 19, 2014

Might wanna hold out on this one until I see what becomes of this issue: thymeleaf/thymeleaf-testing#7

@ultraq
Copy link
Owner Author

ultraq commented Apr 28, 2014

Also might want to wait to see if I do a Groovy rewrite of this plugin - Spock is pretty good when using it's Groovy DSL.

@ultraq
Copy link
Owner Author

ultraq commented May 2, 2014

Gave the rewrite a try, and it didn't really do much except add a 3MB dependency (groovy) to the project! Probably not worth the added weight just to make me feel a bit better about the null/empty checks.

@ultraq ultraq closed this as completed May 2, 2014
@ultraq ultraq self-assigned this May 2, 2014
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