Page 1 of 1

using createTestCase

Posted: Wed Apr 28, 2010 11:29 pm
by brianj
Hi,

I've been able to successfully create testcases using "createTestCase", but I have two questions:

1) Is there a way I can specify to add the testcase into a particular test plan upon creation?
2) is there documentation somewhere to what options you can specify for "actiononduplicatedname"? If so, I'd appreciate a link :)

thanks!

Re: using createTestCase

Posted: Thu Apr 29, 2010 6:44 am
by austvik
Hi, Brian.

1. addTestCaseToTestPlan()

2. While looking through the code, I have found:
$action_on_duplicate_name='allow_repeat'
self::$actionOnDuplicatedNameParamName => 'generate_new',
self::$actionOnDuplicatedNameParamName => 'block');

I totally agree that better documentation would be good. Feel free to create a feature request and provide patches.

-J

Re: using createTestCase

Posted: Mon May 03, 2010 9:06 am
by fman
We are absolutely open to have more contribution on documentation, then we will appreciate your help