Unit tests vs integration tests with Spring

前端 未结 7 783
清酒与你
清酒与你 2020-12-07 17:27

I\'m working on a Spring MVC project, and I have unit tests for all of the various components in the source tree.

For example, if I have a controller HomeContr

7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-07 18:26

    With regard to running unit tests separately from integration tests, I put all the latter into an integration-test directory and run them using IDE/Ant using an approach like this. Works for me.

提交回复
热议问题