Repository navigation
docs(skills): merge test skills into writing-tests and document teamcity.env - #53
Conversation
…ity.env Combines writing-unit-tests and writing-integration-tests into one writing-tests skill with unit-tests.md and integration-tests.md. integration-tests.md gains a Running Live Tests in TeamCity section: what counts as a secret, the tests/teamcity.env format, plain values, ah:customAuth custom auth credentials, ah:secret secrets, and platform OAuth tokens. Updates references in the READMEs and other skills.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6aeb72af66
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
Minor documentation finding (P3): avoid promising that credentials can never appear in build logs. In Suggested wording: “The runner does not explicitly log resolved credentials. Tests must also avoid including secrets in output, assertion messages, or skip reasons.” This is non-blocking; I found no merge-blocking issues in the reviewed changes. |
Summary
Integration authors have no guidance on
tests/teamcity.env: which test values are secrets, and how to supply each one so live tests run in TeamCity. This PR adds that guidance, and merges the two test-writing skills into one.Changes
New
writing-testsskill. It replaceswriting-unit-testsandwriting-integration-tests.SKILL.mdroutes to the right file.unit-tests.mdandintegration-tests.mdhold the previous content, moved with history kept.New "Running Live Tests in TeamCity" section in
integration-tests.md. It covers:tests/teamcity.envlocation and format;ah:customAuth:<field>for custom auth credentials;ah:secretfor other secrets;The Workflow section gains a step to add
teamcity.env. The CI rows now say that live tests never run in GitHub Actions, and that the non-destructive ones run in TeamCity.References updated in both README tables and in
building-integration,upgrading-sdk-v2andreviewing-integration-prs. The review skill also gains a check thatteamcity.envcontains no plain secrets, and that eachah:customAuthfield is declared inconfig.json.Notes
writing-unit-testsorwriting-integration-tests, re-linkwriting-testsinstead.