RE: When I’m running the Test Runner class with both the classes JunitMathProvider_1.class and JunitMathProvider_2.class I dont see the Junit Perspective

Hi,
When I’m running the Test Runner class with both the classes JunitMathProvider_1.class and JunitMathProvider_2.class,   I don’t see the  in Junit Perspective these 3 method names ie., add, subtract and multiply shown under Junit Perspective.

Please help whether i’m running the code correctly or what caused this issue?

Thanks,
Sai Krishna.

saikrishtest Default Asked on October 28, 2014 in Selenium WebDriver.

Hi Saik

I Guess You are Calling there Methods From Some Other Class Where You Have That @Test anonatation

is it Something like that..?

on October 28, 2014.
Add Comment
1 Answers

Open Junit Perspective

1. To open Junit runner you have to go to Window > Show View > Other..
2. In the pop up window select Java. In the options under Java select Junit. and click OK
3. Baam, you will have Junit test runner in the left eclipse view explorer. You can relate from the below image.

Take a look over this link:

http://www.toolsqa.com/java/junit-framework/running-junit-tests-eclipse/

PS: Do not forget to close your question:
http://forumsqa.com/selenium-webdriver/how-to-choose-best-answer-insert-code-vote-up-an-answer/

Regards,
Lakshay Sharma

Professor Answered on October 28, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.