From: Michael S. <msi...@si...> - 2006-02-23 14:36:24
|
Dean: The article describes one possible approach to automation where you add some hooks to your code to automatically generate tests that are semantically meaningful, and independent of the GUI.=20 You can easily adapt this to generate tests for any test framework such as JUnit or FIT. I have used it for both.=20 Note that this approach is only practical if the application has been developed with clear model-view separation. You should be able to execute substantial parts of your application (ideally all of it) "headless". Mike > -----Original Message----- > From: jun...@li...=20 > [mailto:jun...@li...] On Behalf Of=20 > Dean Hiller > Sent: Wednesday, February 22, 2006 9:06 PM > Cc: Jun...@li... > Subject: Re: [Junit-devel] Java API automated regresion testing tool >=20 >=20 > I am confused. That article looks like it is for a GUI, but=20 > the title=20 > of the email says Java API testing. >=20 > ps. the article does look good at first glance. I used abbot a few=20 > years back which was pretty nice, but I could see it being fickle=20 > possibly, though I think if you moved the buttons, that did=20 > not affect=20 > the tests. I will definitely read the article though. > thanks, > dean >=20 > Michael Silverstein wrote: >=20 > >I think one of the things he is looking for is a way to=20 > automatically=20 > >generate tests via observation of an executing application.=20 > Here's an=20 > >article that describes one way to approach this: > > > >[http://www.silvermark.com/Library/publications/articles/sqe_ > logical_ca > >p > >ture_replay.pdf] > > > > =20 > > > >>-----Original Message----- > >>From: jun...@li... > >>[mailto:jun...@li...] On Behalf Of=20 > >>Mat...@un... > >>Sent: Wednesday, February 22, 2006 9:20 AM > >>To: Jun...@li... > >>Subject: AW: [Junit-devel] Java API automated regresion testing tool > >> > >> > >>How about using JUnit and log4j? > >> > >>-----Urspr=FCngliche Nachricht----- > >>Von: jun...@li... > >>[mailto:jun...@li...] Im Auftrag=20 > >>von Trasca Virgil > >>Gesendet: Mittwoch, 22. Februar 2006 14:09 > >>An: jun...@li... > >>Betreff: [Junit-devel] Java API automated regresion testing tool > >> > >> > >> Hi all, > >> > >> I am new to this list and I want to develop a > >>mechanism for automating the regresion testing for a > >>big already existing Java API. > >> > >> I intend to use somehow also AspectJ for > >>achieving this task. What I need is a system that will > >>record the test cases while there are executed, will > >>record also the input and output parameters for each > >>method call, will serialize/deserialize everything and > >>will be able to run again the same test cases at a > >>future time. It will report which test cases failed. > >>Failing meens that for the same input parameters > >>different output was generated. > >> > >> Do you have any clue about such a system? How > >>should I start? Thank you. > >> > >>Regards, > >>Virgil > >> > >> > >>------------------------------------------------------- > >>This SF.net email is sponsored by: Splunk Inc. Do you grep > >>through log files for problems? Stop! Download the new AJAX=20 > >>search engine that makes searching your log files as easy as=20 > >>surfing the web. DOWNLOAD SPLUNK!=20 > >>http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486& > >> =20 > >> > >dat=3D121642 > >_______________________________________________ > >Junit-devel mailing list > >Jun...@li... > >https://lists.sourceforge.net/lists/listinfo/junit-devel > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: Splunk Inc. Do you grep=20 > through log=20 > >files for problems? Stop! Download the new AJAX search engine that=20 > >makes searching your log files as easy as surfing the web. =20 > DOWNLOAD=20 > >SPLUNK!=20 > = >http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=103432&bid#0486&dat=121642 > >_______________________________________________ > >Junit-devel mailing list > >Jun...@li... > >https://lists.sourceforge.net/lists/listinfo/junit-devel > > > > =20 > > >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking=20 > scripting language that extends applications into web and=20 > mobile media. Attend the live webcast and join the prime=20 > developer group breaking into this new coding territory!=20 http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D= 121642 _______________________________________________ Junit-devel mailing list Jun...@li... https://lists.sourceforge.net/lists/listinfo/junit-devel --=20 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.0.0/267 - Release Date: 2/22/2006 =20 --=20 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 268.0.0/267 - Release Date: 2/22/2006 =20 |