Re: [Java-gnome-developer] java-gnome and 'acceptance tests'
Brought to you by:
afcowie
From: Sean C. <exc...@gm...> - 2005-02-13 16:17:51
|
Hey Mark, I've kinda just implemented what you suggested, I've a 'developer' system property which can be true or false. If it's true it will output your actions in a session to an acceptance test file. I've got the action orientated commands like UserSelectsMenuItem, UserInputsText, UserClicksButton etc... working. However I've no way yet to insert the Test commands, that will probably need a UI. Obviously this makes writing AT's for regression testing, or writing AT's to test existing functionality easier. However ideally, I see the AT's being written up front and the development being acceptance test driven. You know your finished when the AT passes. Great idea though, thanks. Sean On Sun, 13 Feb 2005 10:32:12 +0000, Mark Howard <mh...@ti...> wrote: > It's not useful for any of the projects I'm working on now, but I can see how > many people would find this useful. However, it would be even better if you had > a ui for writing the tests. > > The ui application could load a glade xml file, find all the widgets in it and > add click event handlers. Then you would click on a widget and see a window with > appropriate actions for that control (e.g. user enters text for text boxes). > > This way you don't have to remember the widget names or syntax of the test > files. > > -- > .''`. Mark Howard > : :' : > `. `' http://www.tildemh.com > `- mh...@de... | mh...@ti... > |