... Good day. I've a war story about Robot vs jWebUnit. It started when yours truly was asked to look at client's performance metrics for a large enteprise...
... Well, the first answer is simple: put known data in the database, run the test and check the result (in the database or wherever). After doing that for a...
I have a question regarding TDD with Mock classes. Here is my situation: I have an abstract base class and 28 derived subclasses. I've created a mock for the...
... I don't understand. Why are you writing a mock for the class you are testing? Typically, we write mocks for class that we need to test other classes. Can...
... First, a question: why are you calling this TDD? I'd expect that the tests would be written concurrently with the classes if you were doing TDD. What am I...
On Thursday, Nov. 18th we're pleased to host Colin Sampaleanu from Interface21 (http://www.interface21.com) in Toronto. He's one of the authors of the open...
The next Phoenix eXtreme Programming User Group meeting will be held on Monday, November 8th. This is an informal gathering of Phoenix area developers, project...
Hi All, What is the purpose of mock object ? I am not getting it clearly. Is there any link where I could understand these concepts. Regards, Sisvas....
... Hi, Based purely on your description of the problem (which I am probably misreading), it seems that: 1. You use the term "Mock" for something that isn't a...
... very ... Hi Russ, The only way I've seen to test abstract base classes is to write a mock that is really nothing more than a concrete instance of the base ...
... the tests ... TDD. What ... Nothing - I'm new to the TDD Paradigm and still trying to get into doing true "TDD". One reason I'm having additional...
Hello again! The previously announced meeting on Thursday, Nov. 18th has been rescheduled to Wednesday, Nov. 24th at 6:30 PM. Again, we're pleased to host...
... base ... implementation. Between the sources of documentation I've seen so far on TDD, various groups seem to use the term "mock" as a more loosely defined...
My understanding of TDD and mocks is that mocks are used to keep the unit testing in and around the unit. What that means is that when I'm TDDing a class that...
... I share this question, and wonder what it is about the object in the article that makes it not a mock object. I'd have said that a mock object is an...
... A lot of people distinguish between a stub and a mock where a stub is any implementation that fakes out an interface for testing and a mock is a very...
On Thu, 4 Nov 2004 17:19:05 -0500, Ron Jeffries ... Martin Fowler explains it better than I could <http://martinfowler.com/articles/mocksArentStubs.html>. It...
The next Phoenix eXtreme Programming User Group meeting will be held on Monday, November 8th. This is an informal gathering of Phoenix area developers, project...
... If the link between your data and grid is very simple, then the rule "don't test getters and setters" applies. You can refactor and add features without ...
hi philip u thnks for the reply but say i want to test could u please give a simple example on how to do it with the interface method u mention 1)'If the link...
Right now I am working on adding tests to an application without tests and I am curious to test some database properties. Has anyone actually used an Assert...
I finally worked out a very simple way to include ConfigurationSettings.AppSettings in NUNIT projects. http://www.xml-blog.com/archives/000231.html I now want...
We have a series of nUnit tests that each use a fairly large xml template file - each time we run a different test, this template file has to be loaded into...