&productName; 可以直接从类声明创建测试用例。将插入符号放到编辑器中的类名处,按下 &shortcut:ShowIntentionActions;,从建议列表中选择 Create Test 。