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

yitsushi / totp-cli / 7686960790
27%
master: 20%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/golang.org/x/crypto-0.45.0
DEFAULT BRANCH: master
Ran 28 Jan 2024 04:17PM UTC
Jobs 1
Files 8
Run time 1s
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

28 Jan 2024 04:16PM UTC coverage: 40.852% (+1.3%) from 39.583%
7686960790

push

github

web-flow
refactor: use Storage interface instead of direct struct (#113)

It can get quiet hard to test structs in Go and functions using them.
With this, the rest of the code can be mocked easier with a TestBackend
which is just sits in memory and no encryption. The encryption should be
tested on storage layer, but the rest of the application should care
only about the exposed functions.

related to #8 and #37

References:
- https://github.com/yitsushi/totp-cli/issues/8
- https://github.com/yitsushi/totp-cli/issues/37

Signed-off-by: Victoria Nadasdi <victoria@efertone.me>

163 of 399 relevant lines covered (40.85%)

3.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7686960790.1 28 Jan 2024 04:17PM UTC 8
40.85
GitHub Action Run
Source Files on build 7686960790
  • Tree
  • List 8
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #7686960790
  • 02532643 on github
  • Prev Build on main (#7683964698)
  • Next Build on main (#8145716467)
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

© 2025 Coveralls, Inc