traas-stack / auto-unit-test-case-generator

Auto-Unit-Test-Case-Generator automatically generates high-level code-coverage JUnit test suites for Java, widely used within the ANT Group.
GNU Lesser General Public License v3.0
253 stars 83 forks source link

按照操作对service层代码进行单元测试生成,后运行报错 #9

Closed BensonMax closed 1 year ago

BensonMax commented 1 year ago

Context

Please provide below a detailed introduction to the issue itself, and describe what you were doing when the issue happened. Or, what do you want to achieve?

按照操作对service层代码进行单元测试生成,后运行报错

D:\PlayGround\sql-father-backend-public>java -jar ./smartut.jar -target target\classes\com\yupi\sqlfather\service

Steps to Reproduce

Please break down here below all the needed steps to reproduce the issue. [If possible, please upload an example of the project you are generating tests for.]

1. 2. 3.

SmartUt Arguments

Please provide the whole SmartUt commmand you executed (if relevant)

Current Result

Please describe here below the current result you got (if relevant) [if relevant, include a screenshot]

Expected result

Please describe here below what should be the expected behaviour (if relevant)

Additional info

Please add any information of interest here below

MinhaoGo commented 1 year ago

impl.UserServiceImpl这个类是全称么,从报错看应该是com.yupi.sqlfather.service.impl.UserServiceImpl

BensonMax commented 1 year ago

使用IDEA插件,问题解决