Differences between revisions 1 and 2
Revision 1 as of 2014-08-29 17:39:26
Size: 561
Editor: EverettToews
Comment:
Revision 2 as of 2014-11-13 22:49:10
Size: 878
Editor: EverettToews
Comment: Add Mock Tests section
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
<<TableOfContents(3)>>
Line 4: Line 6:

=== Mock Tests ===

Use MockWebServer as the basis for your mock tests.

Example: [[https://github.com/jclouds/jclouds-labs-google/blob/master/google-compute-engine/src/test/java/org/jclouds/googlecomputeengine/features/AggregatedListApiMockTest.java|AggregatedListApiMockTest.java]]

This document describes best practices when doing development on jclouds itself. Best practices may vary between different APIs (hopefully not within APIs). Where differences exist between different APIs, exposing them here may provide an opportunity for convergence and consistency.

jclouds in General

Mock Tests

Use MockWebServer as the basis for your mock tests.

Example: AggregatedListApiMockTest.java

Update Methods

OpenStack/HP/Rackspace APIs

Update Methods

Best Practices (last edited 2014-11-13 22:49:10 by EverettToews)