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

ooni / probe-cli / 6089520745
72%

Build:
DEFAULT BRANCH: master
Ran 05 Sep 2023 08:41PM UTC
Jobs 1
Files 480
Run time 11s
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

05 Sep 2023 08:36PM UTC coverage: 79.887% (-0.001%) from 79.888%
6089520745

push

github

web-flow
webconnectivityqa: import test cases using proxies (#1239)

## Checklist

- [x] I have read the [contribution
guidelines](https://github.com/ooni/probe-cli/blob/master/CONTRIBUTING.md)
- [x] reference issue for this pull request:
https://github.com/ooni/probe/issues/1803
- [x] if you changed anything related to how experiments work and you
need to reflect these changes in the ooni/spec repository, please link
to the related ooni/spec pull request: N/A
- [x] if you changed code inside an experiment, make sure you bump its
version number: N/A


## Description

This diff imports into webconnectivityqa test cases using proxies that
are currently also implemented by ./QA/webconnectivity.py.

The ./QA/webconnectivity.py contains three test cases. Two of them deal
with using transparent proxies without DNS lies, which was easy to do
using iptables, and much harder now. However, it's doubtful whether
those two cases are actually very useful, since there is no measurement
feature which allows us to distinguish them from what we would otherwise
get (perhaps, possibly latency?).

The third case, instead, is interesting and deals with the DNS serving
to users the IP addresses of transparent HTTP and TLS proxies. To make
this test case more similar to what it was in Python, and considering
that LTE uses many resolvers, here I have chosen to use DNS spoofing,
which may or may not be the best choice for LTE in the long term.

Yet, since the objective currently is to be able to check v0.4 against
webconnectivityqa and the A/B comparison and the focus to LTE will come
at a later stage, this seems good enough for now.

77 of 97 new or added lines in 4 files covered. (79.38%)

2 existing lines in 1 file now uncovered.

22131 of 27703 relevant lines covered (79.89%)

27.26 hits per line

Jobs
ID Job ID Ran Files Coverage
1 0 - 6089520745.1 05 Sep 2023 08:41PM UTC 0
79.89
GitHub Action Run
Source Files on build 6089520745
Detailed source file information is not available for this build.
  • Back to Repo
  • a379ecd8 on github
  • Prev Build on master (#6088962131)
  • Next Build on master (#6090165404)
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