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

ooni / probe-cli / 8535445090
72%

Build:
DEFAULT BRANCH: master
Ran 03 Apr 2024 08:23AM UTC
Jobs 1
Files 542
Run time 56min
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

03 Apr 2024 08:16AM UTC coverage: 82.311% (+0.06%) from 82.248%
8535445090

push

github

web-flow
cleanup: SaveMeasurement doesn't belong to Experiment (#1541)

This cleanup may be a bit tangential, but it still makes sense in the
context of what I'm doing, i.e., cleaning up the engine API and ensuring
we mostly use engine functionality in clients.

While doing this, it occurred to me that I could avoid keeping the
SaveMeasurement method attached to an experiment, and I could instead
just make it a pure function.

This reduces the complexity of the *engine.Experiment type.

While there, slightly improve testing.

Part of https://github.com/ooni/probe/issues/2700

29 of 30 new or added lines in 3 files covered. (96.67%)

26081 of 31686 relevant lines covered (82.31%)

52.18 hits per line

Jobs
ID Job ID Ran Files Coverage
1 0 - 8535445090.1 03 Apr 2024 08:23AM UTC 0
82.31
GitHub Action Run
Source Files on build 8535445090
Detailed source file information is not available for this build.
  • Back to Repo
  • 244dd1ef on github
  • Prev Build on master (#8535373544)
  • Next Build on master (#8552629877)
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