Skip to content

Conversation

eric-lee-ltk
Copy link
Contributor

added tests to verify springmvc endpoints only

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 85.081% when pulling c573fd8 on eric-lee-ltk:JAV-88 into a160d43 on ServiceComb:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 85.081% when pulling aa6f9bc on eric-lee-ltk:JAV-88 into a160d43 on ServiceComb:master.

public class SpringMvcIntegrationTest {

private final String baseUrl = "http://127.0.0.1:8080/";
private final RestTemplate restTemplate = new RestTemplate();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All requests go direct to server, and not pass handler chain. Should we use RestTemplateBuilder to create invocation?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you mean consumer handler chain right? we are trying to test provider (including its handler chain) in isolation.

@liubao68 liubao68 requested a review from WillemJiang July 7, 2017 03:23
@seanyinx seanyinx requested a review from wujimin July 13, 2017 05:52
@seanyinx seanyinx merged commit 0e5f2bc into apache:master Jul 17, 2017
@eric-lee-ltk eric-lee-ltk deleted the JAV-88 branch July 17, 2017 03:04
@WillemJiang WillemJiang modified the milestone: 0.2.0 Aug 19, 2017
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

Successfully merging this pull request may close these issues.

5 participants