mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-11 02:14:21 +08:00
Be more specific that the generating-apex-test skill is used for the test generation and not just fixes and coverage. Skip the implication that a green test is a passing test.
Triggers need to have a -meta.xml file generated as well.
This commit is contained in:
parent
f15cd9487b
commit
e223228f7e
@ -64,7 +64,7 @@ Writing files is the midpoint, not the finish line. Steps 6 and 7 each require a
|
|||||||
|
|
||||||
7. **Execute Apex tests**
|
7. **Execute Apex tests**
|
||||||
- Run org tests including `{ClassName}Test` via `sf apex run test` or MCP.
|
- Run org tests including `{ClassName}Test` via `sf apex run test` or MCP.
|
||||||
- Delegate all test fixes/coverage work to `generating-apex-test`; iterate until green.
|
- Delegate all test generation/fixes/coverage work to `generating-apex-test`; iterate until the tests pass.
|
||||||
- Capture pass/fail counts and coverage percentage for the report.
|
- Capture pass/fail counts and coverage percentage for the report.
|
||||||
- If unavailable, record `test_execution=unavailable: <error>` in the report.
|
- If unavailable, record `test_execution=unavailable: <error>` in the report.
|
||||||
|
|
||||||
@ -358,6 +358,10 @@ Deliverables per class:
|
|||||||
- `{ClassName}Test.cls` (generated via `generating-apex-test` skill)
|
- `{ClassName}Test.cls` (generated via `generating-apex-test` skill)
|
||||||
- `{ClassName}Test.cls-meta.xml` (generated via `generating-apex-test` skill)
|
- `{ClassName}Test.cls-meta.xml` (generated via `generating-apex-test` skill)
|
||||||
|
|
||||||
|
Deliverables per trigger:
|
||||||
|
- `{TriggerName}.trigger`
|
||||||
|
- `{TriggerName}.trigger-meta.xml` (default API version `66.0` or higher unless specified)
|
||||||
|
|
||||||
Meta XML template:
|
Meta XML template:
|
||||||
|
|
||||||
```xml
|
```xml
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user