Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(cubesql): Use Default struct update for V1LoadRequestQuery in tests #8836

Merged
merged 5 commits into from
Oct 21, 2024

Conversation

mcheshkov
Copy link
Member

@mcheshkov mcheshkov commented Oct 18, 2024

This should allow to change fields in V1LoadRequestQuery without massive changes in test.
Every field in query is optional, and Default is derived, so it would just mean "empty query", and each test case will fill only non-empty parts.

Copy link

vercel bot commented Oct 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

8 Skipped Deployments
Name Status Preview Comments Updated (UTC)
examples-angular-dashboard ⬜️ Ignored (Inspect) Visit Preview Oct 21, 2024 1:47pm
examples-react-d3 ⬜️ Ignored (Inspect) Visit Preview Oct 21, 2024 1:47pm
examples-react-dashboard ⬜️ Ignored (Inspect) Visit Preview Oct 21, 2024 1:47pm
examples-react-data-table ⬜️ Ignored (Inspect) Visit Preview Oct 21, 2024 1:47pm
examples-react-highcharts ⬜️ Ignored (Inspect) Visit Preview Oct 21, 2024 1:47pm
examples-react-material-ui ⬜️ Ignored (Inspect) Visit Preview Oct 21, 2024 1:47pm
examples-react-pivot-table ⬜️ Ignored (Inspect) Visit Preview Oct 21, 2024 1:47pm
examples-vue-query-builder ⬜️ Ignored (Inspect) Visit Preview Oct 21, 2024 1:47pm

Copy link

codecov bot commented Oct 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.55%. Comparing base (b27f83a) to head (f75f7e3).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8836      +/-   ##
==========================================
- Coverage   82.69%   82.55%   -0.15%     
==========================================
  Files         221      221              
  Lines       78609    77830     -779     
==========================================
- Hits        65006    64249     -757     
+ Misses      13603    13581      -22     
Flag Coverage Δ
cubesql 82.55% <100.00%> (-0.15%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mcheshkov mcheshkov force-pushed the tests-load-query-with-default branch from cb67ba6 to f75f7e3 Compare October 21, 2024 13:46
@mcheshkov mcheshkov marked this pull request as ready for review October 21, 2024 16:31
@mcheshkov mcheshkov requested a review from a team as a code owner October 21, 2024 16:31
@mcheshkov mcheshkov merged commit d5df5c0 into master Oct 21, 2024
83 checks passed
@mcheshkov mcheshkov deleted the tests-load-query-with-default branch October 21, 2024 17:05
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.

2 participants