Skip to content

Addexpect_multicolumn_sum_to_be_between data test#29

Open
MaxxBusch wants to merge 3 commits intometaplane:mainfrom
MaxxBusch:add-multicolumn-sum-between-test
Open

Addexpect_multicolumn_sum_to_be_between data test#29
MaxxBusch wants to merge 3 commits intometaplane:mainfrom
MaxxBusch:add-multicolumn-sum-between-test

Conversation

@MaxxBusch
Copy link

@MaxxBusch MaxxBusch commented Aug 21, 2025

Summary of Changes

  • Added expect_multicolumn_sum_to_be_between data test
  • Added integration tests for new data test
  • Added docs for new data test

Why Do We Need These Changes

To be able to compare the sum of multiple columns is not greater or smaller than a given value.
Example would be the number of sales of product A in column num_sales_A and for product B in num_sales_B. The total sales would be in num_total_sales.
To make sure that the sum of A and B is not greater than the total (which could include a product C), this data test could be used.

Reviewers

@tpoll @gusvargas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant