sw-qualification-test
Skill4 starsChanged 15 days agoMITView on GitHub
Test the integrated software against the software requirements (Automotive SPICE SWE.6): qualification test strategy with regression rules, test cases derived from the requirements and their verification criteria, test code or bench procedures, runs on the build of the last integration step - from the host or from a test bench's JUnit report - and the traceability between requirements, cases and results. Use when the software is to be qualified for a release or again after a change, or when the trace check reports COV-14, COV-17, COV-18, COV-38 or no approved software-qualification-test plan (COV-27).
In this repository38 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- aspice-startSkill
- baselineSkill
- change-requestSkill
- component-qualificationSkill
- cybersecurity-conceptSkill
- cybersecurity-planSkill
- documentsSkill
- haraSkill
- import-inputsSkill
- mock-assessmentSkill
- next-stepSkill
- problem-resolutionSkill
- process-gateSkill
- project-planSkill
- project-statusSkill
- quality-assuranceSkill
- releaseSkill
- reviewSkill
- risk-managementSkill
- safety-analysisSkill
- safety-conceptSkill
- safety-planSkill
- supplier-monitoringSkill
- sw-architectureSkill
- sw-detailed-designSkill
- sw-integration-testSkill
- sw-requirementsSkill
- sw-unit-implementSkill
- sw-unit-verifySkill
- sys-architectureSkill
- sys-integration-testSkill
- sys-qualification-testSkill
- sys-requirementsSkill
- taraSkill
- trace-checkSkill
- vulnerability-managementSkill
- work-breakdownSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 4 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
Run python tools/traceability.py status and python tools/traceability.py check --all.
- Very specific: line 45
Search plans/ for kind: software-qualification-test.
- Very specific: line 47
If there is none, read references/strategy-template.md, ask the user the decisions listed there, and draft the plan.
- Very specific: line 60
Read references/deriving-test-cases.md.
- Very specific: line 71
If the project has no qualification runner, read "A project without a runner" in references/running-and-recording.md and ask before copying …
- Very specific: line 79
Follow the sequence in references/running-and-recording.md.
- Very specific: line 131
Do not set status to anything but draft, and do not write a review record.
- Distinctive: line 132
Do not type or edit a run record or a result file, and do not write a bench result you did not receive as the bench's own report.
- Distinctive: line 134
Do not take an expected result from the design or the code.
- Distinctive: line 135
Do not read or set internal variables of a unit in a test.
- Distinctive: line 137
Do not change the software under test, and do not copy or adapt a runner without asking.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Software qualification test (SWE.6)
Toolkit root:
${CLAUDE_PLUGIN_ROOT}- where this shows a placeholder instead of a folder, it is the repository you are in. Thetools/,schema/,aspice/,iso-26262/,iso-sae-21434/,examples/and.claude/docs/named here and in the references lie in the toolkit root; run its tools from the project folder aspython "<toolkit root>/tools/<script>.py".
Shows that the integrated software meets its requirements, looked at from outside:
stimuli at its inputs, results at its outputs and at the measurement points the strategy
names. The result is a plan and software-qualification-test items in state draft,
ready for /review; test code or bench procedures; final test-run records of level
software-qualification on the build of the last integration step.
| Base practice | What this skill does | Evidence it leaves |
| SWE.6.BP1 Develop software qualification test strategy including regression test strategy | writes the strategy with the user: test object, environment, stimuli and measurement points, regression | plan of kind software-qualification-test |
| SWE.6.BP2 Develop specification for software qualification test | derives cases from each requirement and its verification criteria | software-qualification-test items |
| SWE.6.BP3 Select test cases | chooses the cases of a run by the strategy and the release, and says how | selection and not-run reasons in the run |
| SWE.6.BP4 Test integrated software | runs the cases on the build of the last integration step, or records a bench's report | test-run naming the build |
| SWE.6.BP5 Establish bidirectional traceability | verifies links to requirements; results keyed by case | links; matrix, show output |
| SWE.6.BP6 Ensure consistency | self-checks against the checklist; the evidence comes from /review | proposed findings; review record |
| SWE.6.BP7 Summarize and communicate results | summarizes from tool output; /baseline records who was told | summary; communication-record |
Before you start
- No
project.yaml: stop. "This project has no scope yet. Run/aspice-startfirst." SWE.6not inscope.processes: stop. "SWE.6 is out of scope for this project."- Run
python tools/traceability.py statusandpython tools/traceability.py check --all. - Cases need approved requirements:
list --type software-requirement --status approved. Name and leave out a requirement in draft or in review (UPSTREAM). - Runs need the integrated software. With SWE.5 in scope that is a successful build of
the last integration step:
statusnames it;COV-36orCOV-38on that step means it does not describe the present code -/sw-integration-testfirst. Without SWE.5, the strategy names where the integrated software comes from. COV-27for kindsoftware-qualification-test: do step 1 first. Cases may be drafted against a strategy the user agreed in this session; no run is recorded before the strategy is approved.
Steps
1. Strategy (BP1)
- Search
plans/forkind: software-qualification-test. An approved strategy rules every step below. - If there is none, read
references/strategy-template.md, ask the user the decisions listed there, and draft the plan. Environment, stimuli, measurement points, what is left to the target or to system level, and tester independence are the user's decisions.
2. Decide what to work on
- With arguments: the named requirements. Without: every
COV-14,COV-17,COV-18andCOV-38finding and everySUSPECTon a qualification test. python tools/traceability.py matrix, tableverifies: software-qualification-test -> software-requirement. After a change,impact <ID>of the changed item.- Tell the user the list and ask whether it is the scope of this session.
3. Derive the test cases (BP2)
- Read
references/deriving-test-cases.md. Read each requirement:Statement,Verification criteria,Analysis,release,asil. Every criterion becomes at least one step with its values and times as the expected result. - A requirement whose
verification_methodis nottestgets no case;COV-14asks for its review instead. - Where a criterion cannot be stimulated in the integrated software, say why in the case and name the level that shows it; never drop the criterion silently.
- Where a criterion is not testable as written, that is a question for
/sw-requirements, not a guess.
4. Write test code or bench procedures (BP2, BP4)
- If the project has no qualification runner, read "A project without a runner" in
references/running-and-recording.mdand ask before copying anything. - One test function per case, named after its ID. Stimuli only at the inputs the strategy names; observation only at outputs and named measurement points.
- A case run on a bench has
execution: manualor names the bench's script; its result comes back as the bench's report.
5. Select and run (BP3, BP4)
Follow the sequence in references/running-and-recording.md.
- Clean tree, commit named; the build record of the last integration step made from
that commit exists (
status). - Record with
python tools/record.py test-run --level software-qualification --results <file> --build <BLD-ID> --item-under-test <commit> --environment <name> --selection "<rule>". A bench's JUnit XML report is recorded the same way with--results <report>.xml; the cases are found by their IDs in the test names. - A failing test is information: report it with its log line and propose where it goes; the user decides. Never weaken, delete or skip a case to get a pass.
6. Trace, self-check, summarize (BP5, BP6, BP7)
show <SWR-ID>lists the cases that verify a requirement; the run record ties each result to its case and to the build.- Apply
.claude/docs/checklists/software-qualification-test.mdto the cases and their code, and.claude/docs/checklists/plan.mdto a drafted strategy. Show findings as proposals; correct what the user accepts. /reviewcitessoftware-qualification-test v1; before a run exists the part "Results" isnot-applicable.- Summarize as "Summary for the user" in
references/running-and-recording.mdsays.
Writing
- Show the derivation table (requirement, criterion, case and step) and ask, for
example: "May I write these N qualification test cases to
verification/software-qualification/and their functions totests/qualification/test_qualification.c?" Ask separately before writing a plan. - IDs:
python tools/record.py next-id software-qualification-testornext-id plan. Statusdraft. Before changing an approved item, say that its approval becomes stale.
Checks before you finish
Run python tools/traceability.py check --all.
FORMAT,SCHEMAandLINKfindings on items written in this session: fix them.COV-14,COV-17,COV-18andCOV-38: report each as it is, with what would close it.COV-38"the run does not describe it" means the software changed after the run: qualify the new build. Do not explain it away.
Hand-over
Report, in this order:
- The base practice table with what was done in this session and what is open.
- Per requirement: cases, verdicts in the latest run, criteria shown elsewhere and
where; the build and commit qualified - or
NOT ASSESSEDand why. - Failed cases and where each goes; questions about requirements.
- The remaining findings of the check that concern these items.
- Next:
/reviewfor strategy and cases;/sw-requirements,/sw-integration-testor the design skills for defects;/baselinefor the release and to record who was told the results.
Do not
- Do not set
statusto anything butdraft, and do not write a review record. - Do not type or edit a run record or a result file, and do not write a bench result you did not receive as the bench's own report.
- Do not take an expected result from the design or the code.
- Do not read or set internal variables of a unit in a test; use the measurement points the strategy names.
- Do not change the software under test, and do not copy or adapt a runner without asking.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

