IDEA @Test invalid and can not be imported using JUnit package org.junit a series of questions

First find the idea of ​​the installation location, enter the lib folder

Then open the idea, File -> Project Structure. Select Project Settings in Libraries, click shown in the "+" sign.
Here Insert Picture Description

Here Insert Picture Description

Then add the following two packages
Here Insert Picture Description
Here Insert Picture Description
Click OK, and successfully added it

thank big brother to share https://blog.csdn.net/danmo_wuhen/article/details/104117243

Published 27 original articles · won praise 8 · views 444

Guess you like

Origin blog.csdn.net/MO__YE/article/details/104617410