Issue #8035 has been reported by R.I. Pienaar.

----------------------------------------
Feature #8035: Create agent to assist with integration testing
https://projects.puppetlabs.com/issues/8035

Author: R.I. Pienaar
Status: Accepted
Priority: Normal
Assignee: Pieter Loubser
Category: Testing
Target version: 1.3.x
Keywords: 
Branch: 
Affected mCollective version: 


Create an agent called 'integration' it should have to begin with the following 
actions:

 * 'echo' - takes in the request a message argument and simply responds with 
what it received in a message item
 * 'validation' - has a input validation for something like a simple string == 
"pass".  if validation passes it should reply with reply[:passed] = 1
 * 'soft_fail' - use the reply.fail method followed by setting a reply, you 
should get failed status but still the reply
 * 'hard_fail' - use reply.fail! to fail, also try to get the reply as above 
but you should never get the reply only the error

We'll add more to this in time, this is just to get us going.

Write unit tests for this agent to confirm the basic functionality outside of 
mcollectived and then we can use this agent to flesh out the integration test 
framework.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to