org.junit 的问题
图片传不了~~ 我只是想搞个测试用例 怎么有org.junit 的全错了 是不是少了点什么 求大神赐教 不胜感激package com.wh.test;
import static org.junit.Assert.*;
import java.util.Date;
import java.util.List;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.wh.entity.User;
import com.wh.service.IUserService;;
public class test {
private IUserService service;
@Before
public void setUp() throws Exception {
ApplicationContext ctx=new ClassPathXmlApplicationContext("applicationContext.xml");
service=(IUserService) ctx.getBean("userService");
}
@After
public void tearDown() throws Exception {
service=null;
}
@Test
补充:Java , Web 开发