canonical / canonical/matter-snap-testing

Refactor: move snap functions into a dedicated package

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The snap functions are now part of the [utils package](https://pkg.go.dev/github.com/canonical/matter-snap-testing@v1.0.0-beta.1/utils), inside [snap.go](https://github.com/canonical/matter-snap-testing/blob/c15a6cdfc5419f574ce928f0ab1d29bab4cd37fd/utils/snap.go).

Creating a standalone snap package would improve modularity and simplify snap operations.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with utils/snap.go and inspect how the snap functions are used elsewhere in the repository. Move the functions into a standalone snap package while preserving the existing snap operations, then verify that the repository still builds and its existing usage remains valid.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
tooling
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.