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

Add footer and header tests #432

Merged
merged 3 commits into from
May 18, 2024
Merged

Add footer and header tests #432

merged 3 commits into from
May 18, 2024

Conversation

johnfercher
Copy link
Owner

@johnfercher johnfercher commented May 18, 2024

Description

  • Update docs
  • Add unit tests for Header and Footer.

Related Issue

#386

Checklist

check with "x", ONLY IF APPLIED to your change

  • All methods associated with structs has func (<first letter of struct> *struct) method() {} name style.
  • Wrote unit tests for new/changed features.
  • Followed the unit test when,should naming pattern.
  • All mocks created with m := mocks.NewConstructor(t).
  • All mocks using m.EXPECT().MethodName() method to mock methods.
  • Updated docs/doc.go and docs/*
  • Updated example_test.go
  • Updated README.md
  • Executed make examples to update all examples inside docs/examples.
  • New public methods/structs/interfaces has comments upside them explaining they responsibilities
  • Executed make dod with none issues pointed out by golangci-lint

Copy link

codecov bot commented May 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.05%. Comparing base (2005114) to head (fe76cf4).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #432      +/-   ##
==========================================
+ Coverage   81.90%   84.05%   +2.15%     
==========================================
  Files          61       61              
  Lines        2099     2099              
==========================================
+ Hits         1719     1764      +45     
+ Misses        350      308      -42     
+ Partials       30       27       -3     
Flag Coverage Δ
unittests 84.05% <ø> (+2.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.

@johnfercher johnfercher merged commit 217d9f4 into master May 18, 2024
5 checks passed
@johnfercher johnfercher deleted the test-maroto branch May 18, 2024 12:39
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