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](https://www.bountysource.com/issues/30024599-add-unit-testing-for-onces?utm_campaign=plugin&utm_content=tracker%2F10163092&utm_medium=issues&utm_source=github)** on this issue. Add to the bounty at [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F10163092&utm_medium=issues&utm_source=github).
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.