After getting the source and setting up the development environment, the tests can be executed in groups, using tasks in the Rakefile, or individually using ruby directly.
Examples using rake tasks to executed groups of tests.
Rake task to run all the tests:
% cd REPO/deltacloud/server % rake test # Run all tests
Example of listing the available subtasks have available tests:
% cd REPO/deltacloud/server % rake -T test output list or available tests
Example rake task to run ec2 frontend tests:
% cd REPO/deltacloud/server % rake test:ec2 # Run tests for ec2
Example rake task to run the rhevm driver tests:
% cd REPO/deltacloud/server % rake test:drivers:rhevm # Run tests for rhevm
Example manually running an individual test:
% cd REPO/deltacloud/server % bundle exec ruby tests/drivers/ec2/realms_test.rb