WordPress / WordPress/Requests

Document server setup for the tests

Open
#889 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: documentation
Dominant language
PHP
Stars
3.6k
Forks
500
Avg merge
2d 21h
Merged PRs (30d)
5

Description

The tests need a server to test various requests against. The code for this server is hosted and maintained in https://github.com/RequestsPHP/test-server

This server code was previously deployed to a Heroku instance. Once that became paid-only, we switched to Render last year.

The code changes for Render haven't been merged yet on the test-server repo and this whole setup with the test server isn't well documented.

There is an issue open about this in https://github.com/RequestsPHP/test-server/issues/7, but we should probably also ensure that this test setup with the test-server repo is also documented in this repo.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the Requests test setup and the RequestsPHP/test-server repository, including issue 7, to understand the current Render deployment and how tests use the server. Document the setup in this repository, covering the relationship to test-server and the current deployment status. Done means a newcomer can understand and reproduce the test-server setup from the repository documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
documentation, testing
Issue type
Documentation
Difficulty
2/5
Estimated time
Half a day
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.