How to execute MRUNIT test code from web console

Hi,
I have written MRUNIT test code, saved and exported as a JAR file to hdfs from my eclipse which is in my local machine.
While executing that code i am facing class not found.Please let me know how to execute MRUnit code from webconsole.

[charanrajlv3971@ip-172-31-60-179 ~]$ hadoop jar proj1.jar test.Maptest
WARNING: Use "yarn jar" to launch YARN applications.
Exception in thread "main" java.lang.NoSuchMethodException: test.Maptest.main([Ljava.lang.String;)
        at java.lang.Class.getMethod(Class.java:1786)
        at org.apache.hadoop.util.RunJar.run(RunJar.java:215)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
[charanrajlv3971@ip-172-31-60-179 ~]$ hadoop jar proj1.jar org.junit.runner.JUnitCore test.Maptest
WARNING: Use "yarn jar" to launch YARN applications.
JUnit version 4.11
Could not find class: test.Maptest
Time: 0.001
OK (0 tests)

To run test cases, you don’t need hadoop. As long as you have jars of hadoop and mrunit in place, the usual way of running test cases in pure java should also work with hadoop mrunit.