Questions tagged [junit3]

JUnit 3 is version 3 of the popular JUnit testing framework for Java

JUnit 3 is version 3 of the popular JUnit testing framework for Java.

Use this tag only for question related to features provided by version 3. Use for general questions.

152 questions
-1
votes
2 answers

How to run junit 3 with non default constructor

I have a code base where they define junit test cases as : public class MyTest extends BaseTestCase { public MyTest( String name ) { super( name ); } public void testSome() throws Exception { assertTrue (1 ==…
fastcodejava
  • 39,895
  • 28
  • 133
  • 186
-1
votes
1 answer

How to check if a Java class contains JUnit tests?

I have to check if a certain Class object contains JUnit tests (both JUnit3 and JUnit4). What is the best way to do that?
aperez
  • 451
  • 2
  • 8
  • 20
1 2 3
10
11