1

I have a spring mvc web application and I want to automatically generate the junit class for each request handling method defined in my controller.How to use Randoop to generate Junit class that mocks my repository and service class. I need at least the junit skelton for my controller.

Juks
  • 11
  • 3

1 Answers1

0

Randoop does not generate mocks. You should create any needed mocks. Then, you can use Randoop to generate JUnit tests.

mernst
  • 7,437
  • 30
  • 45