Not a mock - but I've had success with dumbster (http://sourceforge.net/projects/dumbster) for testing SMTP mailing. Steven Hale Powered by Rockliffe MailSite...
I wrote a mock implementation of the Transport interface and made it available to the Java system by putting it in java mail properties files as described in...
Hi I am writing an automated testing script for nightly build to call all my NUnit tests from command line. The relevant NUNit command line params are - ...
There are a bunch at http://AspAdvice.com, including many on architecture, open source tools, etc. I know there are also some Yahoo lists for XP and Agile...
Hi Brad, Here's a refactoring group on Yahoo: http://groups.yahoo.com/group/refactoring/ Cheers, Keith. ... I've really enjoyed this group and learned a lot...
... The typical xUnit answer to this question is that you need a custom suite builder. I'm just learning NUnit, so I don't know whether it has a nice feature...
Hi, Excuse me if I am wrong in my answer here :) But, perhaps you could use something like Ant to automate the process. Ant: http://ant.apache.org/ Ant has...
I've done a similar thing in Ruby using an SMTP server that was based on providing user-defined callback routines to the skeletal server for each of the ...
There's been a bit of discussion about unit testing UIs recently, so I thought I'd throw this question/recent experience at the group. I found this bit of...
Thanks Does the NAnt NUnit task now work with NUNit 2.0? I get the error - Object Reference Not Set to instance of an object when the NUnit test is run from...
Hi all I am developing LDAP access java code, which technology should I use to test the LDAP access? for example, to access RDB, I can use ldap, but for ldap ,...
Assuming you are using JNDi and that you want to test your JNDI calls without a running LDAP server you should check out the JNDI DSML v2.0 Service Provider...
Sorry if this has been beaten to death, but I'm trying to figure out how to use mocks in a TDD .NET application. We started using a test database but that's...
... I don't use NAnt, I use Ant, so I don't know. Can someone else field this? -- J. B. Rainsberger, Diaspar Software Services http://www.diasparsoftware.com...
... This sounds very neat. Does anyone have any experience with this? -- J. B. Rainsberger, Diaspar Software Services http://www.diasparsoftware.com :: +1 416...
Hi Alex What we usually do is storing test data in an xml file along with the test classes and use the LoadXML method of the DataSet class to load test data in...
... database ... produce ... How ... test ... hardcoded ... Hi Alex What we usually do is storing test data in an xml file along with the test classes and use...
As I build out a class, I refactor the code into private helper methods, leaving only the primary methods as public. Unfortunately, this approach means that I...
... What do you want to test? What can you get wrong when using an LDAP directory? I suppose you could get connection information wrong. Create a separate ...
... I take a different route: for queries, I verify two things -- 1. Do I have the right SQL string? 2. Can I make a domain object correctly from a row? ...
... One school of thought: * if the method is important enough to test, then it is probably important enough to be on someone's public interface, so consider ...
I should have written more in my original response. We use the DSML service provider for all of our unit testing related to JNDI/LDAP. We have our LDAP info...
I've seen that argument, and Smalltalkers will point out that Smalltalk doesn't have private access, and *that* didn't make the sky fall, but...I've worked...
... Using something like NAnt to build your system, it is trivial to build a version of the same assembly which doesnt include the tests - which is certainly...