incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@redhat.com
Subject Initial Rackspace unit tests (rev 2)
Date Mon, 28 Mar 2011 13:11:13 GMT
Hi,

I rebased this patchset to latest master and add some additional tests for launching
instances using different hardware profile.

FYI, output from this test should looks like:

mfojtik@firefly ~/code/core/server $ rake test:rackspace
(in /Users/mfojtik/code/core/server)
/opt/local/bin/ruby -I"lib" "/opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
"tests/common.rb" "tests/drivers/rackspace/setup.rb" "tests/drivers/rackspace/api_test.rb"
"tests/drivers/rackspace/hardware_profiles_test.rb" "tests/drivers/rackspace/images_test.rb"
"tests/drivers/rackspace/instances_test.rb" "tests/drivers/rackspace/realms_test.rb" "tests/drivers/rackspace/setup_test.rb"
-v -v
Loaded suite /opt/local/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
test_01_it_returns_entry_points(RackspaceTest::ApiTest): .
test_02_it_has_rackspace_features(RackspaceTest::ApiTest): .
test_03_it_has_rackspace_collections(RackspaceTest::ApiTest): .
test_01_it_returns_hardware_profiles(RackspaceTest::HardwareProfilesTest): .
test_02_each_hardware_profile_has_a_name(RackspaceTest::HardwareProfilesTest): .
test_03_each_hardware_profile_has_correct_properties(RackspaceTest::HardwareProfilesTest):
.
test_04_it_returns_single_hardware_profile(RackspaceTest::HardwareProfilesTest): .
test_05_it_filter_hardware_profiles(RackspaceTest::HardwareProfilesTest): .
test_01_it_returns_images(RackspaceTest::ImagesTest): .
test_02_each_image_has_correct_properties(RackspaceTest::ImagesTest): .
test_03_it_returns_single_image(RackspaceTest::ImagesTest): .
test_01_01_it_can_create_instance_without_hardware_profile(RackspaceTest::InstancesTest):
.
test_01_02_it_can_create_instance_with_hardware_profile(RackspaceTest::InstancesTest): .
test_02_01_created_instance_has_correct_authentication(RackspaceTest::InstancesTest): .
test_02_02_created_instance_has_correct_authentication(RackspaceTest::InstancesTest): .
test_03_01_created_instance_has_correct_addresses(RackspaceTest::InstancesTest): .
test_03_02_created_instance_has_correct_addresses(RackspaceTest::InstancesTest): .
test_03_02_created_instance_has_correct_hardware_profile(RackspaceTest::InstancesTest): .
test_04_01_created_instance_goes_to_running_state(RackspaceTest::InstancesTest): .
test_04_02_created_instance_goes_to_running_state(RackspaceTest::InstancesTest): .
test_05_created_instance_can_be_rebooted(RackspaceTest::InstancesTest): .
test_06_02_created_instance_can_be_destroyed(RackspaceTest::InstancesTest): .
test_06_created_instance_can_be_destroyed(RackspaceTest::InstancesTest): .
test_01_it_returns_realms(RackspaceTest::RealmsTest): .
test_02_each_realm_has_a_name(RackspaceTest::RealmsTest): .
test_03_it_returns_single_realm(RackspaceTest::RealmsTest): .

Finished in 121.229107 seconds.

26 tests, 0 assertions, 0 failures, 0 errors

 -- Michal


Mime
View raw message