Comments (5)
If only zope.testrunner had a configuration file (or section in setup.cfg) so we wouldn't have to keep repeating --test-path=src
everywhere... Then we could have all four build systems (tox, travis, appveyor, buildout) use zope.testrunner and rely on the [tests]
extra to avoid redundancies.
from zopetoolkit.
I'm -0.5 for this. While I much prefer tox
to verify that the code still works, I like bin/test -t foo
for interactive debugging & fixing of failing tests.
Yes, I could use tox -e pyXX --develop
and then .tox/pyXX/bin/zope-testrunner --test-path=src -t foo
, but you can see how unwieldy that gets.
from zopetoolkit.
@mgedmin You should be able to write bin/tox -e pyXX -- -t foo
for interactive debugging of a single test.
from zopetoolkit.
If only zope.testrunner had a configuration file (or section in setup.cfg) so we wouldn't have to keep repeating --test-path=src
I'm sure you're aware of this, but for interactive usage, I find a shell alias works well: alias ztest='zope-testrunner --test-path=src' other-options-I-use
. It still works with -t xxx
and so forth.
Overall, I'd say I'm +0: I personally like the idea just because I never use any of the supplied buildouts and worry they'll cause confusion. I always start from a virtualenv per-project when making substantial changes, or just rely on a global installation of detox
when making small changes. (I have a .dir-locals.el in the top-level of each ZTK checkout to be sure my editor and its linter are automatically in the right virtualenv when editing any files.)
But most of the buildout.cfg
are small, and so long as they don't contain any version pins or otherwise actively contradict tox.ini and .travis.yml they don't seem to cause enough harm to justify taking them away from those that do use them.
from zopetoolkit.
Okay, then we'll leave it as it is.
from zopetoolkit.
Related Issues (13)
- Travis CI failing HOT 1
- Use buildout inside tox and Travis-CI HOT 3
- PyPy3 compatibility HOT 1
- Fix test failures on Python 3.7 HOT 1
- Fails to build on readthedocs HOT 6
- build for Python 3.8 is broken HOT 12
- Tests fail for Python 3.8, pypy and pypy3 HOT 4
- Update zope.interface to 5.1
- 'package-docs' bulidout part fails on Windows HOT 1
- tox is broken: couldn't open ...buildout.cfg HOT 3
- Create a new release HOT 1
- Python 3.6 compatibility HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zopetoolkit.