... Nope this wasn't intended as bait. The blog I quoted simply confirmed my experience (java v Python) that xml scratches an itch in java (struts configs, ejb...
The problem with XML and code is that the code starts to know about the XML. Perhaps the root node, perhaps that an element exists at the place in the...
... "Did you listen to a word I said?" "You said 'flip'! Hur, Hur, Hur, <snigger>" (Sorry, I recently watched some of "100 greatest cartoons", which showed a ...
This is certainly true for any XML we design to be read by our own code. However, we generally do not write tests to verify the functionality of third-party...
Steven, you are right to call me to task. I was just musing about XML and code, and I have, I now see, drifted a long way off-topic. John D. ... From: Steven...
AnyUnit C/C++ Edition add-in for Visual Studio 2003 .NET is available for download at http://www.anyunit.com. AnyUnit is a unit testing environment that allows...
... I would prefer this: public class WelcomePageTest extends TestCase { assertTrue(isHandled("/Welcome")); } private boolean isHandled(String url) { ...
... Which would result in a false negative if the struts-config.xml file provides a path with wildcards (e.g., **/Welcome or /Wel*) which maps to the...
... For myself, one of the major wins of deployment descriptors is that they allow non-programmers (sys admins and implementation engineers are the ones I've...
I know that NUnit is the granddaddy of Dot.Net testing, but I personally have been running into its limitations and they are starting to bug me. I was...
... The first one that REALLY bugs me is no database rollback support. Adding it requires a lot of subclassing and other nasty things. When I try to introduce...
... It took me about 20 minutes to develop a base class for unit tests that use database rollback. I can't fathom what "subclassing and nasty things" means. ...
... I agree it would nice if it was there, because when you can use it, it's very convienient. ... I've been burned the other way as well where I expected to...
So far, I have been happy with using the Setup and TestFixtureSetup attributes to get the database to my start point. Effectively they do a delete all...
Hi Carlton, Interesting observations... ... Good call... The NUni teamt has resisted making NUnit anything but a unit-testing tool in the past. I've reached...
My approach in cases like this has been to - baseline the state of the records I'm interested in, so I've got a known starting point (with some way of storing...
... Marc, Do you mean that the spring configuration files make the testing harder? - Yagiz Erkan - http://yagiz.blogspot.com http://www.erkans.com...
Yagiz Erkan
yagizerkan@...
Mar 3, 2005 2:54 am
8729
Hello, I am working with ASP.Net 2.0 beta and attempting to use some of its new features while continuing with NUnitAsp driven development. I'm making use of...
... More the case that they hide some of the application behaviour from the unit testing. As a result, critical application behaviour (the app won't work...
... I organize tests with these heuristics, in this order: 1. By common fixture objects 2. By common behavior under test 3. By common class under test 4....
... In fact, that's right. ... Yes: I didn't know which object to test. Now I do. If I ever test another Struts application, I'll do that. (This is why we...
I am trying to figure out the best way to test if my menuitems are hooked up correctly. My menu control notifies me that some menu item has been clicked and...
David Winslow
david@...
Mar 3, 2005 11:42 am
8736
... That's exactly what we're currently suffering from in one of our projects. I think it's part of the learning curve but some of our developers prefered to...
Yagiz Erkan
yagizerkan@...
Mar 3, 2005 12:30 pm
8737
... ?!!?!?!? How in the /world/ would someone be able to do /that/?! Do you have an example? If my objects talk to each other through well-defined interfaces...
One way: inherit MyMenuHelper from MenuHelper. Give MyMenuHelper a constructor which supplies a Form (the form you will call) (or even better the interface to...
I would think the ctl00 portion comes from an interface like INamingContainer so as to guarantee unique names for child controls. I haven't used ASP.NET 2.0...
... I don't have experience with the 2.0, but it sounds very similar to what I encountered when I first started using it. I created by own INamingContainer to...