tests: create basic integration test spread infrastructure
Metadata
Current evaluation
Merged changes establishing basic integration test infrastructure using Spread. Resolves LP: #1779419 by implementing a reusable test suite, initially proven with the Go plugin test. Approved after iterative revisions.
Suggested action: —
No scores available.
Issue body
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh unit`?
-----
This PR resolves [LP: #1779419](https://bugs.launchpad.net/snapcraft/+bug/1779419) by starting the process of reimplementing integration tests in spread. It proves the infrastructure out by reimplementing the Go plugin test from the integration "snapd" and "plugins" suites as a Spread suite.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged changes establishing basic integration test infrastructure using Spread. Resolves LP: #1779419 by implementing a reusable test suite, initially proven with the Go plugin test. Approved after iterative revisions. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Established basic integration test infrastructure using Spread, starting with a dedicated Go plugin suite. Approved after iterative refinements, enabling scalable expansion of integration tests across other plugins. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged PR establishing basic Spread integration test infrastructure, resolving LP:1779419. The implementation was refined by isolating the Go plugin test into its own suite to maintain shellcheck compatibility and code structure. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #665 Start using `spread` for integration tests | charmcraft | closed | Completed and merged via pull request #862, which implemented the spread infrastructure and added integration tests. The issue was closed after the changes were successfully integrated. | |
| #2212 tests: add spread suite for ruby plugin | snapcraft | merged | Merged into master. Ruby plugin integration tests were consolidated into a new Spread suite, resolving LP: #1783840. The change modified 13 files, passed CI checks, and received reviewer approval. | |
| #2211 tests: add spread suite for ament plugin | snapcraft | merged | Merged PR moves the Ament plugin snapd integration test to a Spread suite, resolving LP #1783827. Approved by one reviewer, passed CI, and updated 18 files with a minor coverage decrease. | |
| #2183 tests: add spread suite for cmake plugin | snapcraft | merged | Merged into master, resolving LP #1783830 by migrating CMake plugin integration tests to a Spread suite. Approved, passed CI, and maintained 91.23% code coverage across 17 modified files. | |
| #2182 tests: add spread suite for autotools plugin | snapcraft | merged | Merged to master, consolidating Autotools plugin and snapd tests into a single Spread suite to resolve Launchpad bug #1783825. The commit modifies six files, reduces code by 16 lines, passed CI checks, and received reviewer approval prior to integration. | |
| #3020 spread tests: default base for local plugin tests | snapcraft | merged | Merged updates to spread tests establishing a default base for local plugin tests. The change follows a prior commit pattern, adding two lines across two files. Approved by one reviewer and passed CI checks. | |
| #2200 tests: add spread suite for godeps plugin | snapcraft | merged | Merged changes move Godeps plugin integration tests to a Spread suite, resolving Launchpad bug #1783833. Approved by one reviewer, passed CI, and updated 12 files. Codecov noted a minor 0.08% coverage decrease. | |
| #2203 tests: add spread suite for kbuild plugin | snapcraft | merged | Merged following approval and passing CI. Resolves LP: #1783835 by migrating Kbuild plugin integration tests to a Spread suite across six files, increasing overall coverage by 0.02%. | |
| #1287 tests: minor cleanups on the spread tests | snapcraft | merged | Merged minor spread test cleanups into master. Modified four files with 16 additions and 6 deletions. Approved by one reviewer with zero unresolved comments, maintaining 95.27% coverage upon integration. | |
| #6 add basic spread infrastructure | snapcraft-rocks | merged | Merged changes adding basic spread infrastructure and CI configuration. Approved by two reviewers, the update introduces spread-related code and pipeline adjustments across nine files to enable automated testing. |