Run tests with "python tests/runner.py" from any directory.
You can run an individual test with "python tests/test-mytest.py".
The tester must have the url and login info for a kiln instance.
By default, the tests connect to "your.kilnhg.dev.local" with the
username "test" and password "tester". This is configured in
tests/custom.py. You can override these defaults by passing in
--kilnurl, --user, and/or --password arguments to the runner or
individual tests. kilnurl must be a http url so that kilnauth can
be tested. python runner.py -h (or python test-*.py -h) will
print out usage information.
Note that the extension files must be in the parent of the
directory with runner.py, custom.py, and test-*.py.
hostfingerprints should be set up such that
you can talk to your dev instance without spamming security
warning.
|
Loading...