Closed GoogleCodeExporter closed 9 years ago
Looks really good.
How would @Spy annotation work? Is it going to create an object based on a
default
constructor? To make it consistent spy() method should also allow for:
Foo spy = Mockito.spy(Foo.class);
Original comment by bbankow...@gmail.com
on 25 Jun 2008 at 2:36
Ok then, @Spy annotation is out of the game. Let's not complicate and leave out
the
default constructors.
Original comment by szcze...@gmail.com
on 25 Jun 2008 at 3:04
Original comment by szcze...@gmail.com
on 25 Jun 2008 at 6:41
Original comment by szcze...@gmail.com
on 25 Jun 2008 at 6:41
I was thinking about possible scenarios for partial mocking and my conclusion
is that
the usage of a proposal would be limited. Why? Because it won't allow you to
stub
private methods and in most of my cases this is what I would like to do.
Original comment by bbankow...@gmail.com
on 26 Jun 2008 at 6:44
mocking private methods? You're a bad boy. When the test starts to be curious
about a
private method then clearly this method should not be private any more :)
Original comment by szcze...@gmail.com
on 12 Jul 2008 at 8:24
Implemented in 1.5
Original comment by szcze...@gmail.com
on 26 Jul 2008 at 8:39
Original comment by szcze...@gmail.com
on 26 Jul 2008 at 8:39
Original comment by szcze...@gmail.com
on 19 Apr 2009 at 7:40
Original issue reported on code.google.com by
szcze...@gmail.com
on 25 Jun 2008 at 1:24