About IDEA quickly generate test classes:
Directly use the ctrl+shift+T shortcut key in the class that needs to create a test class, and the following figure appears:
Select the package stored in the test class you want to export, select the method to be tested, click ok, and the creation is complete