The import org.junit cannot be resolved

前端 未结 13 2058
梦谈多话
梦谈多话 2020-12-04 09:49

I need to solve a java problem for an interview, and they have sent me the test class. It starts with

import org.junit.Before;

and also ha

13条回答
  •  -上瘾入骨i
    2020-12-04 10:23

    you can easily search for a line like "@Test" and then use the quickfix "add junit 4 library to the build path" at this line. i think this is faster than adding junit manually to the project.

提交回复
热议问题