Hi,

I fixed all Test::Unit files for Deltacloud API. Right now we have
two working test frameworks:

* Cucumber:

For Mock:
cd tests && rake cucumber

For EC2:
export API_DRIVER="ec2"
cd tests && rake cucumber

* Test::Unit:

cd server && rake test

Test::Unit tests are using Rack::Test gem so there is no need to
run API for testing, whole process is automatizated.

I hope we will get Hudson setup soon, so I can configure it to
build core gem and run these tests.

Also I found a little bug in API when you request for some resource
which doesn't exists (eg. http://localhost:3001/api/instances/unknown_name).
In this case APi returned 'Internal server error' instead of 404 status.
This fix is included in first patch.


 -- Michal


Reply via email to