• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mbland / elistman / 5148484213
100%

Build:
DEFAULT BRANCH: main
Ran 01 Jun 2023 07:36PM UTC
Jobs 1
Files 35
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Jun 2023 07:33PM UTC coverage: 100.0%. Remained the same
5148484213

push

github

mbland
Test cmd/send.go, extract mustMarshal

The cmd package now has 100% test coverage. I think I've got some good
patterns and abstractions for testing Cobra commands now. Even the
relatively complex send command proved straightforward to test in the
end.

I could've opted not to check the error value from json.Marshal instead
of extracting mustMarshal. However, I rather like the idea that if I
screw up and make the email.SendEvent unmarshalable, I'll get a clear
error.

1951 of 1951 relevant lines covered (100.0%)

17.26 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5148484213.1 01 Jun 2023 07:36PM UTC 0
100.0
GitHub Action Run
Source Files on build 5148484213
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #5148484213
  • da331284 on github
  • Prev Build on main (#5135948179)
  • Next Build on main (#5149552906)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc