Commit a34d4e1f authored by Stephane Bortzmeyer's avatar Stephane Bortzmeyer
Browse files

Automatic tests

parent f3c80073
......@@ -192,6 +192,11 @@ On Debian, if you prefer regular operating system packages to pip,
`apt install python3 python3-dnspython python3-openssl python3-netaddr
python3-pycurl` will install everything you need.
### Testing
The tests configured in `tests.yaml` require a patched version of
https://framagit.org/feth/test_exe_matrix. Then, just `test_exe_matrix tests.yaml`.
## Public servers
(Managed by non-profit organisations. I may trim this list in the
......
---
- exe: './homer.py'
args:
- '-h'
retcode: 0
partstderr: 'url-or-servername domain-name [DNS type]'
stdout: ''
- exe: './homer.py'
args:
- '--zzz'
retcode: 1
partstderr: 'url-or-servername domain-name [DNS type]'
stdout: ''
- exe: './homer.py'
args:
- 'https://doh.bortzmeyer.fr/'
- 'framagit.org'
retcode: 0
stderr: ''
partstdout: '2a01:4f8:200:1302::42'
- exe: './homer.py'
args:
- '--dot'
- 'dot.bortzmeyer.fr'
- 'framagit.org'
retcode: 0
stderr: ''
partstdout: '2a01:4f8:200:1302::42'
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment