fangfangli / cleartk

Automatically exported from code.google.com/p/cleartk
0 stars 0 forks source link

mvn property for skipping different tests #253

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I just tried running 'mvn test' and I got an error on 
org.cleartk.classifier.tksvmlight.RunTKSVMlightTest that says: Cannot run 
program "tk_svm_learn".  This makes sense because I have not tried to build 
and/or install it.  It would be nice if we had a way of ignoring this test and 
more generally any test that might depend on an executable being available.  We 
could do something similar to the -Dcleartk.skipTests=long.  The only problem 
with this is that it will be annoying to have to type in numerous flags each 
time you want to skip all of the often/commonly skipped tests.  So, it would be 
nice to have some super flags too - i.e. skipcommon - or some such.  

Original issue reported on code.google.com by phi...@ogren.info on 18 Sep 2011 at 7:20

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r3424.

Original comment by phi...@ogren.info on 13 Nov 2011 at 11:28

GoogleCodeExporter commented 9 years ago
I have updated the developer setup to document the new changes:

http://code.google.com/p/cleartk/wiki/DeveloperSetup#Running_tests_with_Maven

Original comment by phi...@ogren.info on 13 Nov 2011 at 11:31