• Post Reply Bookmark Topic Watch Topic
  • New Topic

passing parameters to junit in an ant script  RSS feed

 
Jeff Gaer
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to be able to pass parameters into junit test cases that are run by my ant build script.
Our ant script builds and installs muliple instances of a web application onto websphere. There are varaibles used by the ant script to configure parameters, I would like to pass the value of those varaibles into the junit test case itself to adjust directory paths, etc. Is there a recommended way to do this?
Thanks in advance
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!