| Author |
Message |
![[Post New]](/site/templates/default/images/icon_minipost_new.gif) 05/02/2010 05:55:01
|
dam
Joined: 05/02/2010 05:20:39
Messages: 5
Offline
|
Hi,
I have an issue when I use keyword "do with" with several parameters (issue begin with 5 parameters)
I use eclipse 3.4.2, greenpepper 2.5.4 and confluence 3.0.2.
I use this specification:
| import |
| com.pmu.iv4.fixtures |
| do with | open account |
| user open account with name | Hugo | firstname | Victor | day| 25 | month | 01 | year | 1980 | address | 21 Jump Street |
|end|
The fixture just retrieves parameters (that's all).
And when I launch the specification, I have a "Java Heap Space" error.
It's very curious, plus the fixture does nothing.
I have try with 5 parameters and there is no problem. But with 6 and more the issue Java Heap Space appears!
Is there a limitation with the parameters use by methods ?
Damien
|
|
|
 |
![[Post New]](/site/templates/default/images/icon_minipost_new.gif) 05/02/2010 07:53:55
|
fdenommee
Joined: 25/01/2008 10:23:16
Messages: 587
Offline
|
Hi,
I remember having a fix that use less method calls to resolve the parameters...
Can you try with the version 2.6 of GreenPepper (http://www.greenpeppersoftware.com/confluence/display/GPW/Download) ? If you want to try it inside Eclipse, download the Open core Java, extract to a directory and specify this directory in the advanced settings as the Runner parameter.
Cheers,
Francois D.
|
|
|
 |
![[Post New]](/site/templates/default/images/icon_minipost_new.gif) 05/02/2010 10:00:59
|
dam
Joined: 05/02/2010 05:20:39
Messages: 5
Offline
|
It works with the version 2.6.
Thanks a lot Francois
|
|
|
 |
![[Post New]](/site/templates/default/images/icon_minipost_new.gif) 05/02/2010 10:06:18
|
fdenommee
Joined: 25/01/2008 10:23:16
Messages: 587
Offline
|
Hi,
Cool...
If you want, you can use the new Scenario interpreter - It replace the Do With easily
Customer guide : http://www.greenpeppersoftware.com/confluence/display/GPWODOC/5.+Scenario+specification
Dev guide : http://www.greenpeppersoftware.com/confluence/display/GPWODOC/5.+Scenario+Fixture
The Bank example here (we rewrite the Bank for using the Scenario instead of the Do With) http://www.greenpeppersoftware.com/confluence/display/GREENPEPPERDEMO/Home
Cheers,
Francois D.
|
|
|
 |
|
|