nutanix-cloud-native / nutanix-cloud-native/cluster-api-runtime-extensions-nutanix

Unit tests for lifecycle(add-ons) handlers

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

Nobody has claimed this yet.

Dominant language
Go
Stars
17
Forks
12
Avg merge
1d 10h
Merged PRs (30d)
10

Description

Currently we dont have unit tests that patches add-ons. https://github.com/d2iq-labs/cluster-api-runtime-extensions-nutanix/tree/main/pkg/handlers/generic/lifecycle

As we are adding more add-ons, we should start adding unit tests first.

Contributor guide

No contributing guide indexed for this repository

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 reading the handlers under pkg/handlers/generic/lifecycle and identify how add-on patches are handled. Run the existing unit-test suite for this package, then add tests covering the lifecycle add-on patching behavior. Done means the relevant handlers have unit-test coverage and the tests pass.

Written by the indexing model from the issue text.

Assessment

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