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

support controller tests without application in context #160

Merged
merged 1 commit into from
Mar 8, 2016

Conversation

liorhar
Copy link
Contributor

@liorhar liorhar commented Nov 10, 2015

WithApplication tests are much slower (starting a new app for every controller test) this pull request remove the assumption there's a play application in context allowing faster tests

@gakuzzzz
Copy link
Member

gakuzzzz commented Mar 8, 2016

Wow!! I'm sorry for losing this PR.

And thanks, it is usefull.

gakuzzzz added a commit that referenced this pull request Mar 8, 2016
support controller tests without application in context
@gakuzzzz gakuzzzz merged commit c54b59d into t2v:master Mar 8, 2016
@liorhar
Copy link
Contributor Author

liorhar commented Mar 8, 2016

thanks. Actually with the recent release of Play 2.5 and the deprecation of Play.current this solution is useless.
Migrating to 2.5 will mean any static access to Play and Crypto will have to be rewritten.

@gakuzzzz
Copy link
Member

gakuzzzz commented Mar 8, 2016

Thanks, you are right.

I'll publish a new release for Play2.4.
And now, I'm migrating to 2.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants