spring mvc junit testing

http://stackoverflow.com/questions/19405806/java-lang-assertionerror-status-expected200-but-was405

Properly testing Spring MVC controllers

http://stackoverflow.com/questions/16170572/unable-to-mock-service-class-in-spring-mvc-controller-tests

http://stackoverflow.com/questions/28312554/how-to-use-javax-validation-and-json-request-in-spring-4-mvc

http://stackoverflow.com/questions/26344256/spring-restful-api-validation

Validating Spring REST controllers’ beans using the Bean Validation API… and writing the tests for it!

http://www.logicbig.com/tutorials/spring-framework/spring-web-mvc/json-message-object-conversion/

Testing Spring’s @RequestBody using Spring MockMVC

Mockito verify no more interactions with any mock

Write Readable Tests with Mockito

Write Readable Tests with Mockito

Unable to mock Service class in Spring MVC Controller tests

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s