You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by Apache Wiki <wi...@apache.org> on 2011/02/20 01:55:02 UTC

[Cassandra Wiki] Update of "HowToContribute" by EricEvans

Dear Wiki user,

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

The "HowToContribute" page has been changed by EricEvans.
The comment on this change is: remove instructions on running avro system tests.
http://wiki.apache.org/cassandra/HowToContribute?action=diff&rev1=36&rev2=37

--------------------------------------------------

   1. Run `nosetests test/system/` from the top-level source directory.
  
  If you need to modify the system tests, you probably only need to care about test/system/test_thrift_server.py.  (test/system/__init__.py takes care of spawning new cassandra instances for each test and cleaning up afterwards so they are isolated.)
- 
- === Running the functional tests for Avro RPC (experimental) ===
-  1. Install the [[http://somethingaboutorange.com/mrl/projects/nose/0.11.1/|nose]] test runner (`aptitude install python-nose`, `easy_install nose`, etc).
-  1. Install the Avro Python library (http://hadoop.apache.org/avro/). Install either r910748 or greater from SVN, or 1.3.0 once it has been released. Using `easy_install avro` works for for the avro based tests in trunk (12 October 2010).
-  1. Run `nosetests test/system/test_avro_server.py` from the top-level source directory.
- 
- ''Note: If you're setup with both the Thrift and Avro dependencies, you can run all of the tests by simply typing `nosetests` from the top-level directory''
  
  === Running the code coverage task ===
   1. Unzip this one: http://sourceforge.net/projects/cobertura/files/cobertura/1.9.4.1/cobertura-1.9.4.1-bin.zip/download