Files#
Settings file#
init writes the settings to jama-checks.toml.
The other commands read it from the current folder, or from the file --config names. agent-plan and sync with --from work without it, using the defaults below.
Ids can be written as numbers or strings.
[jama]#
Key |
Default |
Meaning |
|---|---|---|
|
required |
Your Jama Connect URL, such as |
|
required |
The project id. |
|
|
The ids of the item types whose items are requirements. |
|
|
The ids of the item types whose items are test cases, for commands run with |
|
|
How to sign in: |
|
|
The API client ID, or the username for |
[nominal]#
Key |
Default |
Meaning |
|---|---|---|
|
|
The profile in the Nominal config file to connect with. |
|
|
The requirements checklist’s name, when |
|
|
The test cases checklist’s name, when |
|
|
The priority of checks |
|
|
The data source that variables for marked channels read. |
|
|
Pairs that mark a channel besides backticks and code formatting: any of |
Requirements file#
read writes requirements.json: what Jama Connect has for each requirement.
read --test-cases writes the same layout to test-cases.json, for test cases.
checks, agent-plan and sync start from either with --from.
{
"format": "nominal-checks-from-jama/requirements",
"version": 1,
"items": "requirements",
"source": {"base_url": "https://example.jamacloud.com", "project": "12", "project_name": "Widget Assembly"},
"requirements": [
{
"item_id": "101",
"document_key": "WA-REQ-101",
"name": "Brake temperature",
"text": "`brake_temp` stays below 450°C during a hot stop.",
"html": "<p>`brake_temp` stays below 450°C during a hot stop.</p>",
"url": "https://example.jamacloud.com/perspective.req#/items/101?projectId=12"
}
]
}
Key |
Meaning |
|---|---|
|
The kind of file and its layout’s version. The tool refuses a file with another. |
|
|
|
The Jama Connect instance, the project id and the project’s name. |
|
The item’s description as plain text. A test case’s steps follow it, each with its action, expected result and notes. |
|
The same, as HTML. |
Checks file#
checks writes checks.json: the check for each requirement. checks --test-cases writes test-checks.json, one check per test case. agent-plan and sync start from either with --from, and read nothing else, so your own code can write it.
{
"format": "nominal-checks-from-jama/checks",
"version": 1,
"items": "requirements",
"source": {"base_url": "https://example.jamacloud.com", "project": "12", "project_name": "Widget Assembly"},
"checks": [
{
"item_id": "101",
"document_key": "WA-REQ-101",
"url": "https://example.jamacloud.com/perspective.req#/items/101?projectId=12",
"lineage": "bdd8e896-e600-54fd-bcba-02b4df5bbc5e",
"title": "WA-REQ-101 Brake temperature",
"description": "`brake_temp` stays below 450°C during a hot stop.\n\nJama: https://example.jamacloud.com/perspective.req#/items/101?projectId=12",
"channels": ["brake_temp"]
}
]
}
Key |
Meaning |
|---|---|
|
The check’s lineage in Nominal: the same for a requirement on every run. |
|
The check’s text. The description’s last line links to the requirement; both outputs find a requirement’s check by it. |
|
The channel names to make checklist variables for. |
Both files are JSON, so any quote, semicolon or line break in a requirement’s text is kept exactly.
Plan file#
agent-plan writes checks-plan.md, Markdown for your agent: a table of the Nominal tools it uses and what each is for, the steps to follow, and each requirement’s exact title and description.
It’s written from checks.json, so agent-plan --from checks.json needs neither Jama Connect nor Nominal.
agent-plan --test-cases writes test-checks-plan.md, whose steps let the agent make as many checks for a test case as its pass criteria need.
Jama Connect® is a registered trademark of Jama Software, Inc.