Skip to content

Add reusable JSON prompt for unit test generation#1

Open
alwin-m wants to merge 1 commit into
mainfrom
codex/write-json-for-unit-testing
Open

Add reusable JSON prompt for unit test generation#1
alwin-m wants to merge 1 commit into
mainfrom
codex/write-json-for-unit-testing

Conversation

@alwin-m

@alwin-m alwin-m commented Apr 8, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Provide a reusable, structured JSON prompt (unit-testing-prompt.json) to standardize generation of high-quality, runnable unit tests across languages and frameworks.

Description

  • Add unit-testing-prompt.json containing prompt_name, purpose, system_message, input_schema, prompt_template that enforces coverage goals and constraints, and expected_output describing runnable code-only test files.

Testing

  • Validated JSON syntax with python -m json.tool unit-testing-prompt.json, which completed successfully.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant