1
1
mirror of https://github.com/ariya/phantomjs.git synced 2024-09-11 12:55:33 +03:00
phantomjs/test
Zack Weinberg f69d44b829 Don't hardwire listening ports for the test HTTP(S) servers.
Instead, run-tests.py asks the kernel to assign a random unused port
number for each, and then sets environment variables TEST_HTTP_BASE
and TEST_HTTPS_BASE to the base URLs of each server.  In tests that
use testharness.js, these are exposed as global variables with the
same name; tests that don't use the harness will need to pick them out
of require('system').env if they need them.  (Currently there are no
such tests.)

Part of issue #13478 (test suite overhaul).
2015-10-20 17:11:36 -04:00
..
basics Don't hardwire listening ports for the test HTTP(S) servers. 2015-10-20 17:11:36 -04:00
certs Overhaul run-tests.py. 2015-10-20 17:10:46 -04:00
fixtures Remove the old test runner. 2015-10-20 17:11:18 -04:00
ghostdriver-test Making GhostDriver test "quiet-er" (and parallel) 2014-03-09 01:02:21 +00:00
manual/standards Support globs in run-tests.py#TESTS. 2014-09-15 16:17:27 +00:00
module Don't hardwire listening ports for the test HTTP(S) servers. 2015-10-20 17:11:36 -04:00
node_modules Add require() tests and comment buggy test in fs-spec-03.js 2012-07-12 23:14:12 -07:00
regression Don't hardwire listening ports for the test HTTP(S) servers. 2015-10-20 17:11:36 -04:00
standards Replace assert.js with a new test harness based on W3C testharness.js. 2015-10-20 17:10:46 -04:00
www Remove the old test runner. 2015-10-20 17:11:18 -04:00
run-tests-ghostdriver.sh Making GhostDriver test "quiet-er" (and parallel) 2014-03-09 01:02:21 +00:00
run-tests.py Don't hardwire listening ports for the test HTTP(S) servers. 2015-10-20 17:11:36 -04:00
testharness.js Don't hardwire listening ports for the test HTTP(S) servers. 2015-10-20 17:11:36 -04:00
writing-tests.md Replace assert.js with a new test harness based on W3C testharness.js. 2015-10-20 17:10:46 -04:00