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:
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!