deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "marios@redhat.com" <mandr...@redhat.com>
Subject Re: Initial API tests rewrite
Date Fri, 20 Jul 2012 17:05:36 GMT
I got a "ezmlm-reject: fatal: Sorry, I don't accept messages larger than
1000000 bytes (#5.2.3)"

PATCH 2/2 is @
http://mariosandreou.com/documents/0002-Deprecates-old-driver-specific-cucumber-tests-and-fe.patch

(just deprecates old cuke tests into /deltacloud/tests/deprecated directory)


On 20/07/12 19:55, marios@redhat.com wrote:
> Initial API tests rewrite - these are intended as 'black box' tests,
> i.e. to be pointed at a deltacloud API server running somewhere and
> interacting only with the API and not with deltacloud internals 
> (as described in more detail http://piratepad.net/deltacloud-testing
> ). Uses RestClient to do the talking.
> 
> Things to notice in Patch 1:
> 
> * Edit /deltacloud/config.yaml with location of deltacloud server to
> be tested and add credentials for the driver you expect to be running
> there
> 
> * invoke tests with rake test:deltacloud (idea is that a rake test:ec2
> and rake test:cimi rake tasks will be added in due course)
> 
> * test_setup.rb talks to the URL you configure in config.yaml and
> 'discovers' the current driver, it's collections (adding the test_files
> accordingly, so if only 'buckets' is supported then only buckets_test.rb
> will run in the TestTask) and features (so for example if buckets 
> collection doesn't have the 'bucket_location' feature, then that specific
> test will be skipped).
> 
> marios
> 



Mime
View raw message