Do not see Test options !!
Answered
I am trying to do a JAVA project, everything is fine except for I do not see any Test options to just check if my codes are working right or wrong? Can anyone tell me what is wrong i'm doing. It does compiles with exit code 0 but I do not see test option so that I can check for outputs.
Please sign in to leave a comment.
You are running Main class, not PrimePrimeFactors.
See https://www.jetbrains.com/help/idea/running-applications.html .
Actually I am using ios MacBook not windows/Linux. Also if you share a specific solution to get test options it will help me z lot.
It doesn't matter what you are using, the screenshot shows you are running the Main class, please run the correct class as described in the documentation.
If you want to use JUnit, your classes/methods must be annotated with @Test:
https://www.jetbrains.com/help/idea/configuring-testing-libraries.html
https://www.jetbrains.com/help/idea/creating-run-debug-configuration-for-tests.html