WordPress / WordPress/phpunit-test-runner

make testrunner.sh in host-tools directory

Open Beginner friendly
#260 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ContributorDay tooling WCUS26
Dominant language
PHP
Stars
77
Forks
77
Avg merge
15d 15h
Merged PRs (30d)
4

Description

Create a bash script with commands (like below) that hosts can use to run the testing and reporting process in one step inside the host-tools directory

This one is for running tests and reporting once the test runner is already set up.

#script to update git, run tests, make report and clean up files once test runner is configured.
cd /home/wptestrunner/phpunit-test-runner/ #file path to test runner directory, change if needed
git pull
git checkout master
source .env #credentials must already be saved in env file
php prepare.php
php test.php
php report.php #report bot must already be configured
php cleanup.php

Contributor guide

No contributing guide indexed for this repository

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

Create the testrunner.sh script in the host-tools directory using the command sequence in the issue as its starting point. Read the referenced prepare.php, test.php, report.php, and cleanup.php flow, then verify that the script runs the update, testing, reporting, and cleanup process in one step on an already configured test runner.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, php
Domain
testing, tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.