New issue 187: Use tox to run tests on downstream libraries
https://bitbucket.org/hpk42/tox/issue/187/use-tox-to-run-tests-on-downstream

Ib Lundgren:

Hello,

I currently use tox for testing across Python versions and it's great. Now I 
would like to make sure that when I update my library I don't break downstream 
libraries or at least know in what way they break.

For example, if I develop django and want to check if my changes break 
django-rest-framework I'd have a tox.ini with something like

```
[downstream]
repositories=
     github.com/tomchristie/django-rest-framework
     bitbucket.org/foo/django-bar
```

Tox could then clone each repo and run a "sub-tox" inside each so all results 
are collected together (main lib + downstream). Naturally, the "sub-tox" would 
install the repo dependencies as specified in respective tox.ini with the 
exception of my library for which it would use the local version.

Suggestions for how I may achieve this? Update tox with these features? If so 
where? Or rather let tox be and roll a shell script? Already possible but I 
don't know how?

Cheers


_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to