1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests
Jeff McCune 743882f032 Refactor requests to return simple hashes and add unit tests
This massive commit refactors all of the request methods on the
Fog::Compute[:vsphere] instance to return simple hashes.  The behavior
before this commit returned full vmware object references which was a
problem because it was difficult to unit test.

With this patch, it is much easier to add and maintain Mock
implementations of the request methods.  This makes adding behavior
tests for the server model much easier.

In addition, test coverage using Shindo has been added.  Previously
there was little test coverage of the behavior.

To run the tests:

    shindont tests/vsphere/
2011-09-10 15:11:18 -07:00
..
aws [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
bluebox/requests [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
brightbox/requests/compute [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
compute Refactor requests to return simple hashes and add unit tests 2011-09-10 15:11:18 -07:00
core [core] Allow FOG_CREDENTIAL env variable for config 2011-09-10 13:42:55 -04:00
dns [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
dnsimple/requests/dns [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
dnsmadeeasy/requests/dns [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
dynect/requests/dns [dynect|dns] support reauth for inactivity logout too. 2011-09-09 11:36:28 -07:00
glesys/requests/compute [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
go_grid/requests/compute [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
google/requests/storage [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
helpers (#9241) Add test skeleton framework 2011-09-10 13:32:58 -07:00
linode/requests [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
ninefold [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
rackspace [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
slicehost/requests [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
storage [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
storm_on_demand/requests/compute [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
vcloud [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
voxel/requests/compute [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
vsphere Refactor requests to return simple hashes and add unit tests 2011-09-10 15:11:18 -07:00
zerigo/requests/dns [tests] rearrange to match new lib structure 2011-09-08 16:37:58 -05:00
helper.rb
lorem.txt
watchr.rb Refactor requests to return simple hashes and add unit tests 2011-09-10 15:11:18 -07:00