In my last project we test-drove our Spring wiring. We were highly motivated to find ways to not create 100 XML documents! ;-) Paul....
Paul King
paulk@...
Aug 1, 2007 12:13 pm
19680
People need to be told that dependency injection does not require XML. It's just a poor way of doing it. The more I look at Guice, the more I like it. For me...
... OK. It didn't take long to get to the organizational dysfunction in play. ... Not necessarily: the more modularized the system, the less complex the ...
... Yes, but that doesn't make it wrong. Have you read "Blink"? ... To claim it says /nothing/ about their code or architecture is just plain naive. Just as it...
... I don't want to get into the middle of such esteemed folks, but I'm boggled by the move to XML instead of Java. With Java, we can hope to use tools like...
... Hard to say it is dysfunction. In term of income, it is definitely functional, this is a company earn a lot and probably everyone know the name. ... There...
I've just thought of another categorisation of tests: whether they are regression tests or work in progress. We write tests for the functionality to be...
... XML is fine, if we limit ourselves to data. Once we start writing code, Java is more up to the task than XML is. <snip /> ... I find that to be a cop-out,...
On 02/08/2007, Nat Pryce <nat.pryce@... ... iteration ... can't ... tests ... allowed ... I realise that this is a JUnit list not a TDD one, but how does...
End-to-end tests are not "design". They part are the requirements spec and so writing them is analysis work. They specify acceptance criteria for a particular...
Hi frnds, I am new to this group.my name is Ramath, located in kerala,India. can u tell me how can we pass the argument from build.xml to my testClass.I dont...
Hello Sarath, ... There is no way to pass command line arguments to JUnit test classes. What you can do is use the system property and JVM argument ...
Is it possible to use JUnit to test servlets and related things? Clearly I'll have to mock up some requests, but I'm not having much luck even getting started....
... Thanks, Nat; I've read that one. Part of the problem is that configuration is in the eye of the beholder, and vision strength varies wildly. :) -- J. B....
Hi Pat, ... Or _Test Driven_, chapter 5. However, I don't think you need a recipe for testing Servlets as such. The NoClassDefError indicates there's something...
The Jetty servlet container can be easily started/stopped in a JUnit test and you can pass it a servlet object to run rather than a WAR file to load. I try to...
... I believe if you Google the book, you can find a sample chapter or two posted as publicity when we first released it. Also, I occasionally give out sample...
... Right. Those are the introductory chapter and the chapter on XML. -- J. B. (Joe) Rainsberger :: http://www.jbrains.ca Your guide to software craftsmanship ...
... Exactly. It's the same advice as for EJBs: push your code out into plain Java objects, then have the servlet or EJB invoke your code. Leave the JNDI calls...
... Yes, of course the javax.servlet classes are missing. NetBeans includes tomcat, so that is the "container" that resolves the classes when executing. Its...
Imagine that there is a class Algorithm and its subclassed Algorithm1, Algorithm2, .. Algorithm9. All AlgorithmN classes have the same contract (thus they have...