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 <[EMAIL PROTECTED]> wrote:
From: Somesh Sasalatti <[EMAIL PROTECTED]>
Subject: Re: [SWTBot-users] Automate creating test data
To: "SWTBot" <swtbot-users@lists.sourceforge.net>
Cc: "SWTBot" <swtbot-users@lists.sourceforge.net>
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 <[EMAIL PROTECTED]> 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
SWTBot-users@lists.sourceforge.net
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
SWTBot-users@lists.sourceforge.net
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
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse