You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by Apache Wiki <wi...@apache.org> on 2014/11/13 23:53:01 UTC

[Jclouds Wiki] Update of "Best Practices" by EverettToews

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jclouds Wiki" for change notification.

The "Best Practices" page has been changed by EverettToews:
https://wiki.apache.org/jclouds/Best%20Practices?action=diff&rev1=1&rev2=2

Comment:
Add Mock Tests section

  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.
  
+ <<TableOfContents(3)>>
+ 
  == jclouds in General ==
+ 
+ === 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]]
  
  === Update Methods ===