1、点击Run
2、点击Edit Configurations
3、给Use classpath of module选择测试类所在的项目名称
4、点击OK即可
1、点击Working directory
2、选择$MODULE_DIR$