ooni-probe-cli/internal/engine/experiment
Arturo Filastò 5e5cfa72e7
MVP of a signal messenger test (#230)
* MVP of a signal messenger test

* Add minimal signal test unit tests

* Add Signal test to the im nettest group

* Add test for https://sfu.voip.signal.org/

* Fix bug in client-side determination of blocking status

* Add uptime.signal.org to the test targets

* Add more tests

* Check for invalid CA being passed
* Check that the update function works as expected

* Update internal/engine/experiment/signal/signal_test.go

Co-authored-by: Simone Basso <bassosimone@gmail.com>

* fix: back out URL we shouldn't have changed

When merging probe-engine into probe-cli, we changed too many URLs
and some of them should not have been changed.

I noticed this during the review of Signal and I choose to add
this commit to revert such changes.

While there, make sure the URL of the experiment is OK.

* fix(signal): reach 100% of coverage

Just so that we can focus on areas of the codebase where we need
more coverage, let us avoid missing an easy line to test.

Co-authored-by: Simone Basso <bassosimone@gmail.com>
2021-02-26 10:16:34 +01:00
..
dash refactor: miniooni should be outside of the engine (#206) 2021-02-03 11:21:10 +01:00
dnscheck fix: always use probe-cli version (and make it alpha) (#219) 2021-02-04 11:00:27 +01:00
example chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
fbmessenger chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
hhfm refactor: move more commands to internal/cmd (#207) 2021-02-03 12:23:15 +01:00
hirl chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
httphostheader chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
ndt7 refactor: miniooni should be outside of the engine (#206) 2021-02-03 11:21:10 +01:00
psiphon chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
riseupvpn MVP of a signal messenger test (#230) 2021-02-26 10:16:34 +01:00
run fix: always use probe-cli version (and make it alpha) (#219) 2021-02-04 11:00:27 +01:00
signal MVP of a signal messenger test (#230) 2021-02-26 10:16:34 +01:00
sniblocking MVP of a signal messenger test (#230) 2021-02-26 10:16:34 +01:00
stunreachability MVP of a signal messenger test (#230) 2021-02-26 10:16:34 +01:00
telegram MVP of a signal messenger test (#230) 2021-02-26 10:16:34 +01:00
tlstool fix: always use probe-cli version (and make it alpha) (#219) 2021-02-04 11:00:27 +01:00
tor fix: always use probe-cli version (and make it alpha) (#219) 2021-02-04 11:00:27 +01:00
urlgetter fix: always use probe-cli version (and make it alpha) (#219) 2021-02-04 11:00:27 +01:00
webconnectivity MVP of a signal messenger test (#230) 2021-02-26 10:16:34 +01:00
whatsapp fix: always use probe-cli version (and make it alpha) (#219) 2021-02-04 11:00:27 +01: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.