Re: [SWTBot-users] Automate creating test data
Brought to you by:
kpadegaonkar
|
From: Somesh S. <som...@gm...> - 2008-10-27 16:01:30
|
Ah ok. I've heard of FIT.never explored it though. That might help. On Oct 27, 2008, at 8:38 AM, Hans Schwaebli <han...@ya...> wrote: > I meant it to persist the data for integration tests. It is not > meant for module or unit tests. > > > > --- On Mon, 10/27/08, Somesh Sasalatti <som...@gm...> > wrote: > From: Somesh Sasalatti <som...@gm...> > Subject: Re: [SWTBot-users] Automate creating test data > To: "SWTBot" <swt...@li...> > Cc: "SWTBot" <swt...@li...> > Date: Monday, October 27, 2008, 11:27 AM > > You could use the concept of theories in junit 4 to crate multiple > datasets for 1 test. But you would still need to create the dataset. > > Jmock is another way of creating mock objects that you can pass > around. > > HTH. > > Sent from my iPhone > > On Oct 27, 2008, at 3:36 AM, Hans Schwaebli > <han...@ya...> wrote: > >> For performing tests (manual or automated) one needs test data. How >> can creation of test data be automated? >> >> I think it is possible to automate this by analysing the model with >> its validation rules. This would save a lot of time. >> >> A little example: A business object Article which contains an >> attribute "name" and the rule that the name must not be longer than >> 40 characters. The automation could then create a Article with a >> name containing 39 characters, one which contains an empty String >> and one where name is NULL. >> >> Does someone know any tool for this, ideally free and open source? >> >> --- >> --- >> ------------------------------------------------------------------- >> 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=/ >> _______________________________________________ >> SWTBot-users mailing list >> SWT...@li... >> https://lists.sourceforge.net/lists/listinfo/swtbot-users >> http://swtbot.org/ - a functional testing tool for SWT/Eclipse >> > > --- > ---------------------------------------------------------------------- > 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=/ > _______________________________________________ > SWTBot-users mailing list > SWT...@li... > https://lists.sourceforge.net/lists/listinfo/swtbot-users > http://swtbot.org/ - a functional testing tool for > SWT/Eclipse > > > --- > ---------------------------------------------------------------------- > 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=/ > _______________________________________________ > SWTBot-users mailing list > SWT...@li... > https://lists.sourceforge.net/lists/listinfo/swtbot-users > http://swtbot.org/ - a functional testing tool for SWT/Eclipse > |