Help the world stop coronavirus! Stay home!

Prev Next

JUnit / Junit Interview questions III

How do I execute JUnit from command line?

Executng Junit from command line involves 2 steps.

1. set the ClassPath to include JUnit core libraries.

set CLASSPATH=%CLASSPATH%;%JUNIT_HOME%junit.jar

2.Invoke JunitCore.

java org.junit.runner.JUnitCore

❤Cash Back At Stores you Love !!!❤

Earn your $10 reward when you make your first purchase through Ebates by signing up with clicking below button.

Ebates Coupons and Cash Back

More Related questions...

Show more question and Answers...

TOSCA

Comments & Discussions