No, only information about the total time taken to run the tests is captured but it's not actually used/displayed anywhere yet. :-(
--- Benjamin Simpson <[EMAIL PROTECTED]> wrote: > Simon, > > Thanks for the information about tag unit. I went > to tagunit.org with a few > questions in mind. I couldn't find the answers I > wanted so I am going to > ask in this forum because this information may be > useful to any of us > writing unit tests. > > It appears that tagunit is capable of testing for > functionality. > > Can it test and record information related to > performance? I am working > from the perspective that it would be great if we > had a starting point for > all features and refactorings. This was also the > suggestion of epesh on > this list and of Fowler in Refactoring. > > I am less interested in the actual output times as > much as I am interested > in the deltas over time where the server environment > is the same. Have you > created this type of functionality? > > Thanks, > > Ben > > > ----- Original Message ----- > From: "Simon Brown" <[EMAIL PROTECTED]> > To: "John York" <[EMAIL PROTECTED]> > Cc: "Matt Raible" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Tuesday, June 17, 2003 9:46 AM > Subject: RE: [displaytag-devel] display unit tests > > > > Yes, Cactus is fairly complicated and for testing > > custom tags isn't (IMHO) very good because you > have to > > manually write the code that the JSP container > usually > > generates to manage the tag lifecycle. With > TagUnit, > > you just point it to your tag library and write > > assertions using JSP tags. For example, you might > test > > a tag that generates "Hello world!" as follows: > > > > <tagunit:assertEquals> > > <tagunit:expectedContent>Hello > > world!</tagunit:expectedContent> > > > > > <tagunit:actualContent><myTag:helloWorld/></tagunit:actualContent> > > </tagunit:assertEquals> > > > > I've basically implemented some of the JUnit > > assertions as custom tags, allowing tags to be > tested > > inside the container and tested in the same way > that > > they will eventually be used - i.e. via a JSP. > > > > Check out www.tagunit.org for more info. > > > > Simon > > p.s. I'm working on the docs for version 1.0 ;-) > > > > --- John York <[EMAIL PROTECTED]> wrote: > oh > sorry, > > I just used junit for some simple tests. I > > > had started looking > > > at jakarta cactus, but haven't had time to get > it > > > working yet. Cactus > > > seems a bit complicated, is tagunit much easier > to > > > use? > > > > > > > > > On Tue, 17 Jun 2003, Simon Brown wrote: > > > > > > > John, did you use a framework for this or just > put > > > > together some testing code with JUnit/JSP/etc? > > > > > > > > Simon > > > > --- John York <[EMAIL PROTECTED]> wrote: > > I've > > > > written a handful of unit tests to test > sorting > > > > > and paging within my > > > > > tag. I'm sure they would generalize to test > any > > > > > refactored version of this > > > > > tag. > > > > > > > > > > > > > > > On Tue, 17 Jun 2003, Matt Raible wrote: > > > > > > > > > > > We might want to use tagunit > > > (http://tagunit.org) > > > > > and canoo's webtest to > > > > > > test the JSPs (http://webtest.canoo.com). > > > > > > > > > > > > I know that Simon Brown (TagUnit's author) > had > > > > > already done some work on > > > > > > the displaytag, so that might be a good > start. > > > > > > > > > > > > Matt > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > From: > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > [mailto:[EMAIL PROTECTED] > > > > > On Behalf Of > > > > > > Benjamin Simpson > > > > > > Sent: Tuesday, June 17, 2003 6:35 AM > > > > > > To: [EMAIL PROTECTED] > > > > > > Subject: [displaytag-devel] display unit > tests > > > > > > > > > > > > > > > > > > How are we shaping up for documentation > and > > > jUnit > > > > > tests? Do we want to > > > > > > stick with the displaytag website the way > it > > > is? > > > > > > > > > > > > I am going to be coming into some free > time > > > (no, > > > > > not unemployment .. I > > > > > > think). I would enjoy contributing > something > > > that > > > > > reflects well on our > > > > > > group. > > > > > > > > > > > > As for unit tests, I have code that I was > > > using to > > > > > test my refactorings > > > > > > that was using zip codes (for scale) and > > > baseball > > > > > stats for accuracy. > > > > > > It would be great if we could get together > a > > > > > harness of some type (Sun's > > > > > > suggestion at JavaOne) so that we could > > > monitor > > > > > the impact of the > > > > > > refactorings and changes we make to Ed's > > > original > > > > > tag. > > > > > > > > > > > > Would anyone like to discuss this? I am > > > willing > > > > > to do the work. > > > > > > > > > > > > Ben > > > > > > > > > > > > > > > > > > > > > > -- > > > > > John York > > > > > Software Engineer > > > > > CareerSite Corporation > > > > > > > > > > > > > > > > > > > ________________________________________________________________________ > > > > Want to chat instantly with your online > friends? > > > Get the FREE Yahoo! > > > > Messenger http://uk.messenger.yahoo.com/ > > > > > > > > > > -- > > > John York > > > Software Engineer > > > CareerSite Corporation > > > > > > > > ________________________________________________________________________ > > Want to chat instantly with your online friends? > Get the FREE Yahoo! > > Messenger http://uk.messenger.yahoo.com/ > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An > INetU Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get > 10% Monthly Commission! > > INetU Dedicated Managed Hosting > http://www.inetu.net/partner/index.php > > _______________________________________________ > > displaytag-devel mailing list > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/displaytag-devel > > > ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/ ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel