Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't generate testcases for all classes inside Springboot #1293

Open
ganesh1729ganesh opened this issue Jan 29, 2024 · 0 comments
Open

Can't generate testcases for all classes inside Springboot #1293

ganesh1729ganesh opened this issue Jan 29, 2024 · 0 comments

Comments

@ganesh1729ganesh
Copy link

ganesh1729ganesh commented Jan 29, 2024

So, I've tried to generate testcases for my service inside a springboot project. I've compiled my classes using maven. Testcases are getting generated for few classes and not for controllers and services (for classes which depend on maven dependencies)

I've used the following command :
java -cp "xxx-1.0.0.jar;C:\Users\xxx\documents\randoop\randoop-all-4.3.2.jar" randoop.main.Main gentests --testjar=xxx-1.0.0.jar

How do we generate testcases inside springboot ?
@linozem @mernst @carloslima @thadguidry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant