cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "RunningCassandraInEclipse" by DavidAllsopp
Date Sun, 31 Jul 2011 21:29:39 GMT
Dear Wiki user,

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

The "RunningCassandraInEclipse" page has been changed by DavidAllsopp:
http://wiki.apache.org/cassandra/RunningCassandraInEclipse?action=diff&rev1=25&rev2=26

Comment:
Added detail on unit tests and assertions

  
  ''Question - can JUnit tests be run through Eclipse, or should they only be run using the
Ant build target?''
  
+ Note that some of the unit tests use Java `assert` as well as JUnit assertEquals() etc,
so they need to be run with assertions enabled in the JVM (using `-ea`). If you just run them
directly in Eclipse/JUnit without assertions enabled, you may get false test passes.
+ 
  = Run Cassandra =
  
  Click "Run" -> "Run Configurations...". Select org.apache.cassandra.thrift.CassandraDaemon
as you Main class, make sure that your cassandra project is selected in the "Project" field.

Mime
View raw message