Announcement Announcement Module
Collapse
No announcement yet.
Using Junit in IntelliJ Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using Junit in IntelliJ

    hai,

    How to implement a testcase for Controller using IntelliJ?
    Please give me a sample code .


    regards,
    nisha

  • #2
    It shouldn't be IDE specific. Do you mean web Controller?

    Look at the spring-mock.jar, which contains useful integration testing functionality in org.springframework.test, and some mock objects for the Servlet API. Also consider using the Mock Objects library and EasyMock or Dynamock to mock the Servlet API.

    Comment

    Working...
    X