getsops / getsops/sops

Functional tests for editor functionality

Open
#216 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
23.1k
Forks
1.1k
Avg merge
1d 11h
Merged PRs (30d)
9

Description

Currently there aren't any tests for the editor mode of sops. A simple one would be setting sed with a simple replace as the editor, and checking that the values are actually replaced.

This would prevent issues like #215 from happening.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the sops editor-mode entry point and existing functional test structure. Configure sed as the editor with a simple replacement, then verify through the test that the edited values are actually replaced and that the test catches the regression described in #215.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, testing
Issue type
Bug
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.