开发者社区 问答 正文

关于eclipse新建junit test case 导入包报错问题 ?报错

eclipse新建junit test case 导入包报错怎么解决啊,jar包也导入了

package lesson1;

import static org.junit.Assert.*;

import org.junit.Test;

public class JDBCtest {

    @Test
    public void test() {
        fail("Not yet implemented");
    }

}

图片说明

展开
收起
爱吃鱼的程序员 2020-06-23 15:49:03 722 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    @RunWith(SpringJUnit4ClassRunner.class)
    @SpringApplicationConfiguration(classes=App.class)
    @WebAppConfiguration

    2020-06-23 15:49:20
    赞同 展开评论