On Tuesday, October 8, 2013 4:56:47 AM UTC-4, kumar santosh wrote:
1. I have class AModule where we are binding are the dependencies.
2. In class Test i created Instance of B using Injector. like .
Injector in = Guice.createInjector(new AModule())
// getting instance of B
On Tuesday, October 8, 2013 12:01:40 PM UTC-4, Nate Bauernfeind wrote:
I tend to avoid using Guice for most tests as I find it hard to actually
get decent tests when Guice is in the mix.
Interesting. As the author of one Guice-based test framework, I'm curious
what problems you run into.
My question is unanswered. i will try to rephrase my question
On Tuesday, 8 October 2013 21:31:40 UTC+5:30, Nate Bauernfeind wrote:
I tend to avoid using Guice for most tests as I find it hard to actually
get decent tests when Guice is in the mix.
For any specific class I want to treat I
When you are using Guice in unit test I recommend you look at a testing
framework which uses Guice.
https://github.com/ArcBees/Jukito
http://onami.apache.org/test/
On 10/08/2013 10:56 AM, kumar santosh wrote:
1. I have class AModule where we are binding are the dependencies.
2. In class
And of course, TestNG:
http://beust.com/weblog/2010/12/10/testng-and-guice-a-marriage-made-in-heaven/
--
Cédric
On Tue, Oct 8, 2013 at 2:34 AM, Stephan Classen st.clas...@gmx.ch wrote:
When you are using Guice in unit test I recommend you look at a testing
framework which uses Guice.