Re: [SWTBot-users] Automate creating test data

2008-10-27 Thread Somesh Sasalatti
tti <[EMAIL PROTECTED]> wrote: From: Somesh Sasalatti <[EMAIL PROTECTED]> Subject: Re: [SWTBot-users] Automate creating test data To: "SWTBot" Cc: "SWTBot" Date: Monday, October 27, 2008, 11:27 AM You could use the concept of theories in junit 4 to crate multiple

Re: [SWTBot-users] Automate creating test data

2008-10-27 Thread Hans Schwaebli
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&quo

Re: [SWTBot-users] Automate creating test data

2008-10-27 Thread Somesh Sasalatti
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 PROTECT

[SWTBot-users] Automate creating test data

2008-10-27 Thread Hans Schwaebli
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 attr