mcp-server icon indicating copy to clipboard operation
mcp-server copied to clipboard

Testing: add a smoke test for JSON snippets in `docs/settings`

Open francescobianco opened this issue 7 months ago • 0 comments

Opened by @francescobianco from local draft 09-docs-settings-smoke-test.md.

Summary

A few config files under docs/settings/ are clearly meant to be copied into AI clients. It would be useful to have a tiny CI check that validates these snippets stay parseable and do not drift away from the README.

Reproduction

  1. Open the files in docs/settings/.
  2. Notice they are user-facing configuration examples.
  3. There is no obvious test making sure the examples remain valid JSON and safe placeholders.

Expected

At least a small test or script that:

  • validates JSON syntax
  • checks for placeholder values instead of token-like literals
  • optionally verifies referenced URLs and keys stay aligned with the docs

Actual

Example config quality is enforced manually.

Why this is a good first issue

The scope is small and can likely be implemented as a shell or pytest check.

Suggested acceptance criteria

  • Add one automated check for docs/settings/*.json.
  • Fail if a token-looking literal is committed again.
  • Document the check in docs/testing.md.

francescobianco avatar Apr 14 '26 09:04 francescobianco