|
From: Eric <ne...@wa...> - 2008-09-15 13:39:15
|
Hi, I've been using FEST since a few months. It's sometimes pretty brittle but I managed to write some useful tests. Here is where I stand now: - some GUI tests for the SpellCheck plugin - one can run them from ant (in a new jEdit instance for each class) (ant test) - a crude graphical test runner (screenshot at http://cotcotpot.free.fr/dropbox/screenshot-junittree.png , code at http://jedit.svn.sourceforge.net/viewvc/jedit/plugins/SpellCheck/trunk/src/test/cswilly/jeditPlugins/spell/JUnitTree.java). It's useful to run only one test in a class.It could be a building block for a plugin... (ant run, click on the buttons ;)) Meanwhile, there is JUnitPlugin in the repository. It's not (yet) working for me (classnotfoundexception). It could also be used to run FEST tests. About Marathon : never heard about it before, but I would be glad to see some tests, to compare with FEST-swing. Cheers, Eric Alan Ezust a écrit : > I would like to contribute in this direction. I have some experience > with "Squish" another testing tool, and that's about it. But I've > learned a lot about automated regression testing over the past 8 > months and would like to get involved more. I was just hoping someone > else could start it, and then I could add to it. Also, I don't want to > reinvent the wheel. I am hoping there is a framework we can reuse and > add to. > > I'm perfectly willing to add other classes to this that would help us > in further testing. And I want it to all go into SVN, perhaps as a > jEdit plugin? > > The changing titles of the View problem is something I've encountered > before in Squish. Basically, it needs to pick names for objects that > it is recording scripts on, and it uses the windowtitle as part of the > name-generation part for certain types, if it can't find a unique name > elsewhere. With squish, we can change the rules it uses to make up > names, and use other properties for better identification purposes. > > If we need to modify jEdit to make it more testable, (by giving > objects better identifying properties) then let's do it. > > > On Fri, Sep 12, 2008 at 6:41 AM, Shlomy Reinstein <sre...@gm...> wrote: > >> Hi, >> >> Yesterday I downloaded Marathon, an application for testing Java >> applications, and tried to use it for automating some jEdit tests. I >> am quite impressed with this application, as it could launch jEdit and >> record scripts nearly "out of the box". There are some limitations, >> mainly related to things in jEdit that are not very common, like >> frequently / rapidly changing titles of the jEdit view. But all in >> all, a very useful application that I think we can use to automate >> jEdit regression testing. >> I am willing to create a basic regression testing project in jEdit's >> SVN for Marathon, and start with a basic set of tests for my plugins. >> I think Marathon can really help raise the stability of jEdit. If >> anyone else is willing to contribute in that direction, please let me >> know. Also, if you have some good experience with other automated >> testing tools with jEdit, let me know. >> >> Thanks, >> Shlomy >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> -- >> ----------------------------------------------- >> jEdit Developers' List >> jEd...@li... >> https://lists.sourceforge.net/lists/listinfo/jedit-devel >> >> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > |