|
From: Jeff M. <je...@mk...> - 2002-04-16 17:14:30
|
Actually the general consensus is that mocks don't need tests. The idea is to keep them really simply so there's nothing in them worth testing. That's the good thing about the expectation stuff. That's got tests and that's the bit that doe's the work. On Tue, 2002-04-16 at 17:58, Christian Trutz wrote: > Hi Oskar, >=20 > some unit tests for MockResultSetMetaData would be very nice ;-) >=20 > Christian >=20 > -----Urspr=FCngliche Nachricht----- > Von: moc...@li... > [mailto:moc...@li...]Im Auftrag von > Oskar Hannesson > Gesendet: Dienstag, 16. April 2002 18:34 > An: 'Jeff Martin'; 'MockObjects' > Betreff: [MO-java-dev] MockConnection >=20 >=20 > Hi there! > It is nice to see the MockResultSetMetaData class finally make its way in= to > CVS , even though I posted similar code (+ unit test) some six months ago= :-( > When I started using Mockobjects last year I ran in to problems having > multiple Statements pr. connection. > The current version of MockConnection supports only one Statement pr. > connection so I modified it and posted it to this group. > The code never made it to the CVS so I ask: > Is someone currently working on this problem or should I try to re-commit= my > implementation and hope for a better response ? >=20 > I found some 8 months old code in CVS > (mockobjects-java/src/extensions/com/mockobjects/eziba/sql) which seem to= be > addressing some this problem. > Is this perhaps an upcoming version of the sql package? >=20 > Regards > Oskar Hannesson > deCODE Genetics > Addr: Sturlugata 8 , 101 Reykjavik, Iceland > Tel: (354) 570-1900 > Fax: (354) 570-1903 > Web: www.decode.com >=20 > PS! > I really hate relying on my own private version of MockObjects. >=20 >=20 > _______________________________________________ > Mockobjects-java-dev mailing list > Moc...@li... > https://lists.sourceforge.net/lists/listinfo/mockobjects-java-dev >=20 >=20 >=20 > _______________________________________________ > Mockobjects-java-dev mailing list > Moc...@li... > https://lists.sourceforge.net/lists/listinfo/mockobjects-java-dev --=20 |