ooni-probe-cli/internal/engine/experiment
Simone Basso 721ce95315
fix(all): introduce and use iox.CopyContext (#380)
* fix(all): introduce and use iox.CopyContext

This PR is part of https://github.com/ooni/probe/issues/1417.

In https://github.com/ooni/probe-cli/pull/379 we introduced a context
aware wrapper for io.ReadAll (formerly ioutil.ReadAll).

Here we introduce a context aware wrapper for io.Copy.

* fix(humanize): more significant digits

* fix: rename humanize files to follow the common pattern

* fix aligment

* fix test
2021-06-15 13:44:28 +02:00
..
dash fix(all): introduce and use iox.ReadAllContext (#379) 2021-06-15 11:57:40 +02:00
dnscheck refactor: flatten and separate (#353) 2021-06-04 10:34:18 +02:00
example chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
fbmessenger feat: create tunnel inside NewSession (#286) 2021-04-05 15:28:13 +02:00
hhfm fix(all): introduce and use iox.ReadAllContext (#379) 2021-06-15 11:57:40 +02:00
hirl refactor: move tunnel pkg down one level (#358) 2021-06-04 15:15:41 +02:00
httphostheader chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
ndt7 fix(all): introduce and use iox.CopyContext (#380) 2021-06-15 13:44:28 +02:00
psiphon refactor: flatten and separate (#353) 2021-06-04 10:34:18 +02:00
riseupvpn refactor(netx): remove forwardes for tlsx (#365) 2021-06-08 21:14:45 +02:00
run fix: always use probe-cli version (and make it alpha) (#219) 2021-02-04 11:00:27 +01:00
signal refactor(netx): remove forwardes for tlsx (#365) 2021-06-08 21:14:45 +02:00
sniblocking MVP of a signal messenger test (#230) 2021-02-26 10:16:34 +01:00
stunreachability refactor: redesign how we import assets (#260) 2021-04-01 16:57:31 +02:00
telegram refactor: flatten and separate (#353) 2021-06-04 10:34:18 +02:00
tlstool refactor: flatten and separate (#353) 2021-06-04 10:34:18 +02:00
tor refactor: flatten and separate (#353) 2021-06-04 10:34:18 +02:00
urlgetter fix(all): introduce and use iox.CopyContext (#380) 2021-06-15 13:44:28 +02:00
webconnectivity refactor: move tunnel pkg down one level (#358) 2021-06-04 15:15:41 +02:00
whatsapp refactor: flatten and separate (#353) 2021-06-04 10:34:18 +02:00
README.md chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00

Directory github.com/ooni/probe-engine/experiment

This directory contains the implementation of all the supported experiments, one for each directory. The OONI spec repository contains a description of all the specified experiments.

Note that in the OONI spec repository experiments are called nettests. Originally, they were also called nettests here but that created confusion with nettests in ooni/probe-cli. Therefore, we now use the term experiment to indicate the implementation and the term nettest to indicate the user facing view of such implementation.

Note that some experiments implemented here are not part of the OONI specification. For example, the urlgetter experiment is not in the OONI spec repository. The reason why this happens is that urlgetter is an experiment "library" that other experiments use to implement their functionality.

Likewise, the example experiment is a minimal experiment that does nothing and you could use to bootstrap the implementation of a new experiment. Of course, this experiment is not part of the OONI specification.