From: <her...@ec...> - 2004-01-30 14:55:55
|
Griffin Caprio escribio: > That's great. if you send me your changes, I will see > what I can do to make the TestFramework choice > dynamic. heh... i guess you'll have to work hard to do that. :-( my work was a proof of concept. i'm not using cvs to record changes by now. i started porting from the dotnetmock official distrib. alas, i rearranged the directories sources to allow mass source changes inside visual studio since that's our build tool in here. if you are still interested i can send you the project. > DotNetMock is very much alive. The core framework is > complete, so development has slowed. But lots of > exciting stuff is coming in the area of Dynamic Mocks > as well as more docs & examples. ah. that's great. > Anything you would like to see? can't tell right now. i'm just starting to using it. still, one problem that i couldn't solve neither investigate was the assert in MockDataReaderTests.cs:67 where it says Assertion.Equals(dataTable2, _reader.GetSchemaTable()); when ported to csUnit, it fails. i'm confused because i couldn't make DataTable.Equals() work in Framework 1.1. well... it does work as long as the comparing objects are the same. i replaced that assert with: // Assert.Equals(dataTable2, _reader.GetSchemaTable()); DataTable dt1 = _reader.GetSchemaTable(); Assert.Equals(3, dt1.Columns.Count); for (int i = 0; i < 3; i++) { Assert.Equals(dataTable2.Columns[i].ColumnName, dt1.Columns[i].ColumnName); Assert.Equals(dataTable2.Columns[i].DataType, dt1.Columns[i].DataType); } > Also, I am always curious about what people think are > using DotNetMock and what they think? my main interest is the IDbConnection family mock-object classes (the ones that follows Steve Freeman's proposal for data base testing of our own project. Regards, -Hernan ________________________________________________________________________________________ Este mensaje ha sido analizado y protegido por la tecnologia antivirus www.trendmicro.es |