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

Speed up test running by using local server #107

Merged
merged 11 commits into from
Mar 27, 2014
Merged

Speed up test running by using local server #107

merged 11 commits into from
Mar 27, 2014

Conversation

rmccue
Copy link
Collaborator

@rmccue rmccue commented Mar 23, 2014

As per #47. As usual, @ozh was right (:wink:), and it turned out being better to rewrite the server from scratch in PHP than to use the existing httpbin code.

Adds the REQUESTS_TEST_HOST, REQUESTS_TEST_HOST_HTTP and REQUESTS_TEST_HOST_HTTPS environment variables This allows us to hijack HTTP requests while still leaving HTTPS requests separate.

@rmccue rmccue added the Testing label Mar 23, 2014
@rmccue rmccue added this to the 1.7 milestone Mar 23, 2014
@rmccue
Copy link
Collaborator Author

rmccue commented Mar 23, 2014

Welp, not sure why it's failing to start the server here. Will get back to that.

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.88%) when pulling 797f5cf on speedy-tests into 011d3d4 on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.06%) when pulling c4b7241 on speedy-tests into 011d3d4 on master.

Hopefully should speed up testing slightly.
rmccue added a commit that referenced this pull request Mar 27, 2014
Speed up test running by using local server
@rmccue rmccue merged commit 3cfa046 into master Mar 27, 2014
@rmccue rmccue deleted the speedy-tests branch March 27, 2014 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants