myeclipse2019添加JUnit依赖 选中项目文件,右键,选择,出现下图,点击右侧的Add Library 选择JUnit,点击next,如下图 选择JUnit4,点击finish,如下图 点击Apply即可。