planetscale / planetscale/vitess-operator

Simplify the end-to-end tests

Open
#582 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
372
Forks
102
Avg merge
3d 5h
Merged PRs (30d)
15

Description

There is a lot of duplicated code in our end-to-end tests that can easily be simplified by extracting some core functions into shared shell functions. This will make the tests more readable and more maintainable as we keep adding more tests.

Originally posted by @frouioui in https://github.com/planetscale/vitess-operator/pull/578#discussion_r1683364286

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 end-to-end test scripts and comparing the duplicated shell logic they contain. Extract the repeated core functions into shared shell functions, then run the end-to-end test suite to confirm the tests still pass and remain readable.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
testing-qa
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.