Originally posted by Jeanne Boyarsky:
Once Vincent's article is published, we can link to it from here.
Originally posted by Vincent Massol:
We preferred to focus on giving keys so that Maven users will then know how to use Maven on anything including J2EE.
Originally posted by Jeanne Boyarsky:
I agree with that. The problem wasn't the conciseness. It was the feeling that I couldn't sit down with the book and do a build of a J2EE application that uses the standard EAR/WAR structure. Certainly for less common things, I would use a web resource or wait for a more detailed book. That isn't the domain of the series. Vincent did say they are thinking about adding a web only chapter on EARs, which would make the book greatly more useful.
Originally posted by Jean Miles:
It really takes alot of work to create tests, I see all the benefits but it is hard to explain to project leads that if this is the first time we are create tests for code and takes a learning curve to understand what we are doing, but in time it will cut the time in testing changes introduce throughout the project.
Originally posted by Allan Halme:
Ah yes, but the purpose of the directory structuring was to avoid having to give funky names to the test classes ...
Originally posted by Lasse Koskela:
Congratulations to all winners and big thanks to Vincent for hanging around!
Originally posted by Mario Levesque:
Thanks Vincent,
I still prefer the paper format though. This way I can read and carry with me everywhere.
Mario
Originally posted by bengt hammarlund:
will this book targeted at the experience developer or at the novice/experienced programmer?
Originally posted by bengt hammarlund:
hi there! I have a question to the author: does your book cover how to correctly test methods that throw exceptions?
I've testing methods that throw exceptions like this:
- at first, I simply write a testXXX() throws Exception{}
- then, I write code that should throw an exception, an I catch it. But the testXXX() still throws exceptions, so I can test that my method really is throwing the right exception.
Is this procedure ok, or is there any other ideias in the book? Thanks for any reply!
I think exceptions are a very important issue, and something not that easy to test sometimes.
[ November 06, 2003: Message edited by: bengt hammarlund ]
Originally posted by Faisal Khan:
Vincent,
Thanks for being here and answering our questions. Another thing - does the book encourage developing test cases during the design phase or during development?
- FK -
Originally posted by Bhushan Jawle:
Seeing the table of contents, I should admit that I will buy the book even if I don't win. As I see from previous threads, it has been mentioned by the author that the book covers about best practices for directory structure(question which used to haut me a lot)
It seems to talk about JUnit automation. Does it provide general guidelines as
1> How to identify the candidates for automation and what not to automate
2> Does it talk about guidelines on when to stop writing test cases (I know this question might draw a lot of comments. I am not against thorough testing, but, I think, at least in my case, there is a tendency to overdo the test cases :-) )
Thanks
Originally posted by Simon Brown:
If you want to test the tags at the component (i.e. tag) level rather than unit testing the individual classes, take a look at TagUnit. Basically it allows you to test custom tags via a JSP page.
[ November 05, 2003: Message edited by: Simon Brown ]