File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ def parse():
4545 parser .add_argument ('--cassandra-version' , help = 'run tests on a specific Cassandra version' )
4646 parser .add_argument ('--upload' , action = 'store_true' , help = 'upload cobertura site to configured server' )
4747 parser .add_argument ('--clean' , action = 'store_true' , help = 'runs the maven project from a clean environment' )
48+ parser .add_argument ('--testdocs' , action = 'store_true' , help = 'generates the test\' s Javadoc' )
4849 args = parser .parse_args ()
4950 return args
5051
@@ -116,6 +117,12 @@ def main():
116117 maybe_upload_cobertura_site ()
117118 sys .exit ()
118119
120+ if args .testdocs :
121+ execute ('mvn javadoc:test-javadoc' )
122+ print '\n To view test Javadocs:'
123+ print '\t open driver-core/target/site/testapidocs/index.html'
124+ sys .exit ()
125+
119126 # Setup required ccm loopbacks
120127 maybe_setup_loopbacks ()
121128
You can’t perform that action at this time.
0 commit comments