Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #12243

Closed
Open
Created Jun 09, 2014 by Trac@tracbot

Document running integration tests and link to their reports

On a private Least Authority issue tracker, earthrise wrote:

Tasks:

Try to run the integration tests with a PASS. Also note which unit tests fail.
When running the tests by trial ooni after vagrant up, the test_oonibclient.py tests are skipped, because the backend isn't present. test_oonicli.py apparently passes, although I'm not sure which backend it's using. Answer: The HTTP header manipulation test is using the hard-coded http://64.9.225.221 test helper. The other tests don't need a backend (i.e. they hit websites on the internet or test against the 8.8.8.8 DNS server). We should recommend that the http header test be run against a local copy of oonib, so that it tests the http header part of oonib as well.
WARNING: Running vagrant up does NOT install your local copy of ooni-probe, it just installs the .deb file from their repository.
Okay, I got most of them to pass! I had to install it myself in a Vagrant VM. I'll create a VagrantFile so that it can be reproduced. Some of the integration tests fail because the backend doesn't have the deck, nettest, etc.
Find out if ooni/travis actually are running these tests.
They are being run on travis-ci, although the test_oonibclient.py is being skipped (due to lack of bouncer).
[ ] Figure out which decks and nettests the bouncer must have so that the integration tests pass. Then modify the Vagrantfile so they actually do pass. (Moved to #25).
[ ] See if there is an easy way to separate coverage measurement for unit tests and integration tests. (Moved to #27).
Add this information to assessment.rst.

Trac:
Username: nathan-at-least

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking