← Back to issue list

feat: add 'test' command

View original Github issue

Metadata

Project
rockcraft
Number
#869
Type
pull request
State
merged
Author
tigarmo
Labels
—
Created
Updated
Closed

Current evaluation

Merged #869 (a6d1b77a), adding the test CLI command and a Spread test with hardcoded files pending init-profile test support.

Resolution: closed resolved

Reason: PR #869 was approved and merged as commit a6d1b77a, implementing the new command and its integration coverage.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This adds the cli command and a spread test to check 'rockcraft test'. The test uses hardcoded files while we don't have init profiles with test support. - [ ] Have you followed the guidelines for contributing? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `make lint && make test`? ---

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #869 (a6d1b77a), adding the test CLI command and a Spread test with hardcoded files pending init-profile test support.
stealth/space-bunny-alpha — closed resolved Merged PR #869 (a6d1b77a), adding the rockcraft test CLI command and spread coverage using hardcoded files.
stealth/space-bunny-alpha — closed resolved Merged #869 (a6d1b77a), adding the test CLI command and spread coverage using hardcoded files pending test-enabled init profiles.
stealth/space-bunny-alpha — closed resolved Merged #869 (a6d1b77a), adding the test CLI command and spread coverage with hardcoded files while test-enabled init profiles are unavailable.
qwen/qwen3.6-35b-a3b — — Merged. Added the 'test' CLI command and spread tests for rockcraft. Approved by two reviewers, passed CI checks, and introduced 276 lines across seven files to validate the command using hardcoded fixtures.
qwen3.6-35b-a3b-mtp-q6 — — Merged the 'test' CLI command and associated spread test for rockcraft. The implementation temporarily uses hardcoded files until init profiles support testing.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#5366 feat: add 'test' command snapcraft merged Merged as commit 89b946712, adding a new test command with 170 lines across eight files.
83%
#5398 feat: add init test profile snapcraft merged Merged in #5398 via commit 0fb29e11f, adding a separate test init profile with spread.yaml and spread-extension templates; fixes #5099.
81%
#694 feat: add a testing service and command craft-application merged Merged the testing service and opt-in test command in #694 via commit 4910b2d8, building on testing work from #565 and #592.
76%
#1660 feat: add test command and templates charmcraft merged Merged as commit 097a4e9a, adding `charmcraft test` with templates for local or remote Spread suites using a Multipass backend.
75%
#5099 Add a `test` init profile snapcraft closed Added the test init profile in merged PR #5398 (commit 0fb29e11f), including spread.yaml and spread-extension templates.
73%
#775 feat: add support to spread test expressions craft-application merged Merged PR #775 as commit 7f70ecb0, adding Spread test-expression matching and CI filtering; fixes issue #748.
72%
#871 feat(init): add 'test' init profile rockcraft merged Added an experimental test init profile for Spread-based rock testing, including spread.yaml and extension templates; merged in #871 as 5b1f24f2 and shipped in Rockcraft 1.11.0.
72%
#738 feat(test): add more spread interactions craft-application merged Merged in PR #738 as commit 833ddfb9, adding specific test paths plus --shell, --shell-after, and --debug to the test command; released in 5.2.0.
71%