On 19/01/10 18:12 -0500, Jason Guiditta wrote:
On Tue, Jan 19, 2010 at 6:04 PM, David Lutterkort lutter@redhat.com wrote:
This is more a general thing: I think we should get to a point where we have tests based on mock cloud interfaces, i.e. mock out right_gogrid for this driver. Also, how about using a BDD framework like rspec or cucumber (I've used rspec some, but not cucumber) - any opinions ?
+1 to BDD - I know bob has things set up in dc-framework (core) for rspec already, but I don't have a strong opinion on which framework we use going forward - so long as we use one.
+1 to BDD as well. We need to choose one framework and the use it. Tests are extremely usefull especially if we do API programming.
We definitely need a good suite of unit tests, particulalry to ensure that drivers return XML that is right.
+1. In fact, I will repeat my earlier suggestion that no patch is accepted w/o accompanying tests.
+1 for your suggestion.
- Michal