Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Clean up new system tests

Open
#7,709 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
php
Domain
testing

Research direction

Start by reviewing PR 7695 and its discussion, then inventory the tests/System/bootstrap.php files, environment-variable definitions, PROJECT_ID usages, and TestHelpers usage. Consolidate or remove bootstrap files where possible, standardize project environment variables and test helpers, and run the affected system tests to confirm the workflow remains consistent.

Written by the indexing model from the issue text.

Description

PR https://github.com/googleapis/google-cloud-php/pull/7695 introduced system tests as part of our workflow, but there's still a lot of work to be done.

  • As mentioned in https://github.com/googleapis/google-cloud-php/pull/7695#discussion_r1778955348, we should keep all ENV vars in one place and define them as constants
  • Remove tests/System/bootstrap.php files if possible, or consolidate them to use one in Core
  • Cleanup use of PROJECT_ID environment variable, in favor of GOOGLE_PROJECT_ID, GOOGLE_CLOUD_PROJECT, or remove it all together
  • Cleanup use of TestHelpers to make all tests consistent.
Dominant language
PHP
Stars
1.2k
Forks
464
Avg merge
2d 2h
Merged PRs (30d)
103

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.

More from googleapis/google-cloud-php

All issues in googleapis/google-cloud-php

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.