feat(testing): add names to resource files
Metadata
Current evaluation
Merged a feature mapping resource names to filenames for testing env vars. Approved by two reviewers, passed all CI checks, and fixed commit messages. Enables test scriptlets to directly reference newly created artifact files.
Suggested action: —
No scores available.
Issue body
Craft-application needs a map of resource names to filenames to set
environment variables exported to the testing service. This allows the
user to use the variables to refer to the newly created artifact and
resource files in test scriptlets.
- [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint`?
- [ ] Have you successfully run `make test`?
---
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged a feature mapping resource names to filenames for testing env vars. Approved by two reviewers, passed all CI checks, and fixed commit messages. Enables test scriptlets to directly reference newly created artifact files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged by maintainer cmatsuoka following a force-push to correct the commit message. The update adds a resource name-to-filename mapping to export environment variables for the testing service, allowing test scripts to reference newly created artifacts. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Adds a resource name-to-filename map for testing environment variables. Author force-pushed to fix the commit message. A separate snapcraft test lifecycle issue was noted for investigation but did not block integration. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #739 feat(testing): set artifact and resource file variables | craft-application | merged | Merged after approval and rebasing. Sets CRAFT_ARTIFACT and CRAFT_RESOURCE_<resource-name> variables during spread.yaml processing, enabling user scripts to reference generated test artifacts and resources. CI checks passed. |