Feature Requests item #518777, was opened at 2002-02-17 07:39 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=402707&aid=518777&group_id=31602
Category: None Group: None Status: Open Priority: 5 Submitted By: Vincent Massol (vmassol) Assigned to: Nobody/Anonymous (nobody) Summary: Test XDoclet Initial Comment: Hi, Thanks for that great tool. Here is the XDoclet that I'd like to develop for Cactus (http://jakarta.apache.org/cactus), a unit testing framework for server-side java code : * Create a "@test <unit test class name - same format as @see>" javadoc tag * Have a XDoclet that would read this and add the unit test _source_ code to the documentation for that class, i.e. in the javadoc of the method/class, there would be a link to the source test. Incentive: The main idea is that unit test provide a good way to document code as provide samples of how to use a given method. Usually, existing javadoc is missing badly examples in the javadoc comments. Doing it the way I described it would bring 2 advantages : 1/ You have a suite of unit test for your code that is always up to date (you run them often in the XP way of course) 2/ You have associated documentation with examples that are always working ! Question/Feature request : * Is it possible to do with XDoclet ? Notably, is there an API to get the _source_ code ? Thanks -Vincent ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=402707&aid=518777&group_id=31602 _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
