Prev Next

Testing / Junit Interview questions III

Junit: Can we pass command line arguments to a test execution?

Yes, We can pass command line arguments to a test execution by using -D JVM command-line options as shown below.

java -D JVM command-line options 

More Related questions...

Show more question and Answers...


Comments & Discussions