summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md14
-rw-r--r--tox.ini4
2 files changed, 16 insertions, 2 deletions
diff --git a/README.md b/README.md
index fa8b087..09b545b 100644
--- a/README.md
+++ b/README.md
@@ -98,6 +98,20 @@ tracker here: https://bugs.astron.com/my_view_page.php. If you're not
sure where the bug lies feel free to file an issue on GitHub and I can
triage it.
+## Running the tests
+
+To run the tests across 3 recent Ubuntu LTS releases (depends on Docker):
+
+ $ ./test_docker.sh
+
+To run tests locally across all available python versions:
+
+ $ ./test/run.py
+
+To run against a specific python version:
+
+ $ LC_ALL=en_US.UTF-8 python3 test/test.py
+
## Versioning
Minor version bumps should be backwards compatible. Major bumps are not.
diff --git a/tox.ini b/tox.ini
index d3be02f..39fde90 100644
--- a/tox.ini
+++ b/tox.ini
@@ -8,13 +8,13 @@ envlist =
py38,
coverage-report
-
[testenv]
commands =
- coverage run --source=magic setup.py test
+ coverage run --source=magic ./test/test.py
setenv =
COVERAGE_FILE=.coverage.{envname}
+ LC_ALL=en_US.UTF-8
deps =
.[test]
zope.testrunner