Live Free, Live Happy
The Javadoc of a class was changed and improperly packaged in a client jar used in a different App server. SO when the JSP was accessed, there was an Error about the class being inconsistent (I don't remember the exact error)
A date retrieved from a SQL query was shown without the time in the HTML output
A NullPointerException because of a typo in a query
[OCP 21 book] | [OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
The Javadoc of a class was changed and improperly packaged in a client jar used in a different App server. SO when the JSP was accessed, there was an Error about the class being inconsistent (I don't remember the exact error)
I'm not sure I understand the problem with this one.
Live Free, Live Happy
[OCP 21 book] | [OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
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 ]
-Vincent<br /><a href="http://www.manning.com/massol" target="_blank" rel="nofollow">JUnit in Action</a> author
Originally posted by Jeanne Boyarsky:
Laurent,
Ok, I understand it now. Junit would not be able to check that. But running Javadoc would. If you really wanted a Junit test, you could have a test that runs Javadoc and checks the output for errors.
Live Free, Live Happy
Originally posted by Simon Brown:
[QB... take a look at TagUnit. Basically it allows you to test custom tags via a JSP page.[/QB]
Live Free, Live Happy
Originally posted by Vincent Massol:
Nothing? Or something? Like this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|