Tim, surely you are better off with the tests than without them. So, can you partition them and just run a fairly-fast subset most of the time, and run the...
Sixth International Conference on eXtreme Programming and Agile Processes in Software Engineering XP 2005 June 18-23, 2005 Sheffield University, UK ...
... If you want to verify that the query returns the expected data, then I'm not sure you can avoid using a database. The good news is that you can use HSQLDB...
... I've never written a database driver, but I suspect that there is, for example, some Java code and some native code, and a bridge between the two. To test...
... When I test-drive code and I don't know what object it wants to be on (yet), I do something even simpler than writing a class-level routine on some utility...
... Hm. I know you meant to just throw this in, but the way I interpret this statement, it's awfully inconsistent with incremental design. I'm surprised your...
... I suppose so, but "Fake it" definitely tells me to do something that I know (really means "am pretty damn sure") I will have to change, even if I don't...
Mark your calendar now! ************************************************************** BETTER SOFTWARE CONFERENCE & EXPO September 19-22, 2005 San Francisco,...
... Tim, all, Imagine a tool that did the following for you: 1) Run your test with real sockets, and observe the socket behavior. 2) Automatically generate...
... Exactly. If I don't have a direct need for functionality, I don't implement it -- but if I actually realise that my implementation will blow up under some...
... Sorry, perhaps I was just obtuse. ... From my personal experience, I think your fear is likely based on assuming that you will need to expend a large...
I'm looking for examples (papers, books, other?) of unit tests written for NUnit that test remote calls for web services. Can anyone point me in the right...
... The book "Test-Driven Development in Microsoft .NET" by Newkirk and Vorontsov, Microsoft Press has some examples of testing ASP.NET web services with...
I really like the TDD approach, and for the past few months of programming, I've been writing a unit test for pretty much every method/function I write. But I...
On Tue, 4 Jan 2005 14:34:56 -0800, Derek at CD Baby ... Find a way to test getUnpaidClients() and currentBalance() without hitting the database at all. This...
... Huh?!? I'm sorry I don't understand. Why would anyone want to do that? Wouldn't it be a lot of not just silly but inaccurate work to make that happen? ...
On Tue, 04 Jan 2005 23:25:12 -0000, Derek at CD Baby ... TDD is a design activity not a verification activity. Finding a way to test interfaces to external...
Junit Recipes by JB Rainsberger. There's a section devoted to testing JDBC code. Cheers, David _____ From: Derek at CD Baby [mailto:dereklist@...] Sent:...
Hi David, Obviously, I'd have to learn more about how these mock objects work and would have to try them out, but the concept sounds very promising. Thanks, ...
... Agreed. I have no intention of getting rid of the tests I have even though they take forever to run. ... Yes. I am leaning in this direction as well. ...
... Watch the attributions. My comment has been deleted and I did not write the text below. ... Yes, when I'm thrashing about, or I'm investigating part of a...
If what your looking to do is test the Query itself, you could check out DBUnit (http://dbunit.sourceforge.net/). Its not perfect, but it can be very handy...
... For me, I constantly deal with both database and third-party web service calls. In both situations I have two classes of tests - one for testing business...
Cory Foy
Cory.Foy@...
Jan 5, 2005 3:14 pm
7950
Interesting! Ok - thanks for the advice. I appreciate it....
Hi Mike, It's an old thread, but I didn't see this point raised... ... That's a decision you've made... maybe you should reconsider. ... I agree that allowing...
HI All, I've posted a draft article "Extending NUnit: Beyond Assert" on my website at http://charliepoole.org/article.php?p=beyond_assert. It's part of a ...
... Very important point: you don't need to test business logic and persistence/network access together. In fact, for all but the smallest applications, it's...