Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • BridgeDB BridgeDB
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Anti-censorship
  • BridgeDBBridgeDB
  • Issues
  • #9874
Closed
Open
Issue created Oct 02, 2013 by Isis Lovecruft@isis

Research/design a way to automate testing of BridgeDB's HTTPS and email distributors

We should find a way to write tests for the web interface and email responder. Currently, when I build a branch for testing, I run the unittests, then go over to the configured run/ directory, make/update some fake bridge descriptors, start bridgedb listening on localhost, then fiddle with various content settings like fonts and accepted languages, click on things, fiddle with URLs, and make sure nothing seems super broken. This should be automated.

​Windmill (​more docs) and ​twill look promising. Windmill probably wouldn't run very nicely on a headless server, however, as it drives a browser.

Find a way to write tests for the email responder. This could probably be a simple script to call sendmail, or it could be written in Twisted.

These tests don't need to be comprehensive immediately, just hack out something that works and is less crazy than doing it by hand another thousand times.

Assignee
Assign to
Time tracking