Flagsmith / Flagsmith/flagsmith-charts

Adopt helm-unittest for chart template testing

Open
#523 0 comments 0 reactions 0 assignees View on GitHub
tech-debt
Dominant language
Mustache
Stars
44
Forks
47
Avg merge
3d 18h
Merged PRs (30d)
1

Description

## Problem

All chart testing relies on `ct lint` + `ct install` with CI values files. Each file triggers a full Helm install into a kind cluster, so adding a file per feature permutation compounds CI time.

## Proposal

Adopt [helm-unittest](https://github.com/helm-unittest/helm-unittest) for fast, template-level testing alongside the existing CI setup:

- **helm-unittest**: fast YAML-based tests for value permutations, conditionals, and edge cases (no cluster needed, runs in seconds)
- **ct install**: keep a small set of CI values files for **happy-path integration tests only**

This hybrid approach is used by ingress-nginx and prometheus-community.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.