Share » Forums » Extensions » Workflows testing

Workflows testing

Workflows testing

Monday 04 July 2011 1:54:49 am - 2 replies

Author Message

Thiago Campos Viana

Monday 11 July 2011 12:27:03 pm

Maybe calling eZOperationHandler::execute and passing the right parametes, just do a quick search and check how this function is called in user/register or user/activate views, something like:

$publishResult = eZOperationHandler::execute( 'user' , 'register', array( 'user_id'=> $userID ) );

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

Quoc Huy Nguyen Dinh

Monday 11 July 2011 3:18:41 pm

Or make in context testing less boring by developping a test suite with Selenium RC that click on the register link, fill the form with random data and email filled to you+testXX@gmail.com (where XX is dynamically generated numbers), php imap to check and click email validation link, loggin in cms and approve/deny registration, try to login as user for each scenario.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu