Phoenix icon indicating copy to clipboard operation
Phoenix copied to clipboard

Add unit testing for onces. [$50]

Open lewisgoddard opened this issue 9 years ago • 1 comments

Tests should set any and all global parameters that these scripts check, and confirm that output protects against invalid characters and attacks. They will likely need several tests each.

Onces

  • [ ] once.announce.peer.event.php
  • [ ] once.announce.torrent.php
  • [ ] once.db.connect.php
  • [ ] once.sanitise.admin.php
  • [ ] once.sanitise.announce.address.php
  • [ ] once.sanitise.announce.optional.php
  • [ ] once.sanitise.tracker.php
  • [ ] once.scrape.output.php
  • [ ] once.scrape.torrent.php
  • [ ] once.scrape.tracker.php
  • [ ] once.stats.tracker.php
  • [ ] once.stats.tracker.php

Impossible

  • once.test.initialise.php is literally part of the testing system.

There is a $50 open bounty on this issue. Add to the bounty at Bountysource.

lewisgoddard avatar Jan 19 '16 21:01 lewisgoddard