| Commit message (Collapse) | Author | Age |
| ... | |
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We will try to write to a reporter the number of times the ReportManager is
configured to do so.
If no more reporters are available an exception will be raised and the test
will stop running (XXX this needs to be tested properly)
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
We no longer need inputunit. nettesttask was never needed
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
Removes unused imports in runner and adds exceptions to errors
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
We no longer need inputunit. nettesttask was never needed
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
Issue retries, make tests timeout, etc.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Adds helper method _parseNetTestOptions to NetTestLoader in order
to assemble the various options and flags into a single object
Also add functionality to read the test name and version from the
NetTestCase
Check that the required option is not None
localOptions is a dict, and the required option may be None.
This adds a test for this case.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Tests are scheduled through the MeasurementManager, Reports via the
ReporterManager and the Director keeps track of everything that is going on.
Configurable retries and timeouts are possible.
As an example, example_simple.py is run and the reports are written.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Further code cleaning and debugging of a non deterministic bug
Refactoring and bugfixing of Director and NetTest
|
| | | | |
| | | |
| | | |
| | | | |
Minimize coupling, make clearer the chain of responsibilities
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Provide glue between Director, Tasks and Managers
Director will keep track of the failure rate of measurements
|
| | | | |
| | | |
| | | |
| | | | |
Also updates the test cases.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Options that are passed to the NetTest constructor must be valid
options defined in the NetTestCase UsageOptions with optParameters.
Also handle the case where inputFile is *not* a required option and not
supplied gracefully.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
This is achieved by converting the string to a StringIO
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
ripped out of runner.py and needs testing
|
| | | | |
| | | |
| | | |
| | | | |
Do some refactoring of the unittesting logic
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
loadNetTest populates the test_cases from a file on disk or a file-like object
like StringIO
(cherry picked from commit c1cabc5a0e510cf38a59a5591630c61cb0983978)
Conflicts:
ooni/measurements.py
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Tests will retry to run until the retry limit has been reached
Test failures are properly kept track of
|
| | | | |
| | | |
| | | |
| | | | |
Changes to the API of the MeasurementManager and ReportManager
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
Will return the iterable if it's an iterable
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Make the dependencies between modules much clearer
Sketch out a graph that illustrates such depedencies
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
Tasks are the jobs that get handled by the managers.
|
| | | | |
| | | |
| | | |
| | | | |
Classes that impose constraints on timeouts and issue rate go here.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These wrap the NetTestCase and implement the failure and retry logic.
NetTest is responsible for loading the test classes and methods.
Measurement is responsible for bundling sets of test classes, methods
and inputs.
|
| | | |/
| |/|
| | |
| | | |
These will keep track of the running measurements and reporting tasks.
|