title: Finding the number of test methods in a JUnit test class
body: <p>How I can get the number of total test methods in a JUnit test class? </p>
  
  <p>There exists a similar <a href="https://stackoverflow.com/questions/535929/to-find-the-number-of-test-methods-in-a-junit-testcase">question</a> which was for JUnit4. As I am using JUnit3, is there any way in <a href="/questions/tagged/junit3" class="post-tag" title="show questions tagged &#39;junit3&#39;" rel="tag">junit3</a> to get the number of test methods?</p>
  
  <p>While running the junit test project, JUnit window usually shows the total number of methods on the top. That means it counts the number of test methods itself. Is it possible to get from it?</p>