ant-cannot find symbol@Test

后端 未结 1 1745
旧巷少年郎
旧巷少年郎 2021-01-27 17:34

I am trying to compile following class that has just the one function in it.

public class TestAnnotations {

@Test
public void testLogin(){
    System.out         


        
相关标签:
1条回答
  • 2021-01-27 18:10

    You might need to add the jUnit library to the classpath so Ant knows where it is?

    ...
    <classpath path="path/to/your/junit.jar"/>
    ...
    
    0 讨论(0)
提交回复
热议问题