Skip to content

Cleanup power formula tests#1353

Open
shsms wants to merge 6 commits intofrequenz-floss:v1.x.xfrom
shsms:test-cleanup
Open

Cleanup power formula tests#1353
shsms wants to merge 6 commits intofrequenz-floss:v1.x.xfrom
shsms:test-cleanup

Conversation

@shsms
Copy link
Contributor

@shsms shsms commented Feb 9, 2026

The generation and evaluation of the formulas are now implemented and tested separately. So here we only need to test we are calling the correct formulas.

shsms added 5 commits February 9, 2026 10:06
Formula generation and evaluation are implemented separately and
tested elsewhere.

So here we only need to test that the formulas apply the correct
formula.

Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
Formula generation and evaluation are implemented separately and
tested elsewhere.

So here we only need to test that the formulas apply the correct
formula.

Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
Formula generation and evaluation are implemented separately and
tested elsewhere.

So here we only need to test that the formulas apply the correct
formula.

Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
These tests should ideally use custom formulas and not depend on the
formula generator, but that's a bigger change because that would
affect most of the tests in this repo.

Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
@shsms shsms requested a review from a team as a code owner February 9, 2026 09:32
@shsms shsms requested review from ela-kotulska-frequenz and removed request for a team February 9, 2026 09:32
@github-actions github-actions bot added part:tests Affects the unit, integration and performance (benchmarks) tests part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) labels Feb 9, 2026
Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
@github-actions github-actions bot added the part:docs Affects the documentation label Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:docs Affects the documentation part:tests Affects the unit, integration and performance (benchmarks) tests part:tooling Affects the development tooling (CI, deployment, dependency management, etc.)

Projects

Status: To do

Development

Successfully merging this pull request may close these issues.

1 participant