Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] Automate network testing for all the different handlers. #5901

Open
mandel-macaque opened this Issue Apr 15, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@mandel-macaque
Copy link
Contributor

mandel-macaque commented Apr 15, 2019

The handler code is complicated and sometimes fragile. Although we do have unit tests that test that certain tests were fixed, we do not have a full set of tests for the different requests that can be performed by a HttpClient.

The idea is to do the following. httbin.org is a nice tool which can be used to test a request from point to point. Of course, it is not nice to depend on an external resource for our testing, but thankfully, there is a docker version of the page.

Ideally, we could create a set of integration tests (not unit test parse since they test the entire round trip of the request) that do the following:

  1. Launch the docker version of httpbin.org locally.
  2. Perform all the required requests to be tested, for example:
  • Redirect tests
  • Large downloads.
  • Cancellations.
  • Internet disconnects
  1. Get the results and expose them via jenkins or VSTS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.