Comments (5)
Makes sense to me.
Are you interested in implementing?
For reference, here's how pytest searches for the config file. I think we could even import pytest
and use its API to find the config file so we're not duplicating any code.
Thanks for the suggestion!
from pytest-watch.
Hmm, instead of using a different config file we could just store it as a section in one of tox.ini
, pytest.ini
and just use pytest machinery to pick it up. Many packages already do that (e.g. flake8
, pep8
, coverage
support all of those standard files).
I'm interested in implementing but realistically I won't have any time for that till a few weeks from now :/ So if someone steps in and hacks it together that would be very cool.
from pytest-watch.
instead of using a different config file we could just store it as a section in one of tox.ini, pytest.ini and just use pytest machinery to pick it up
Oh yes, that's what I was suggesting. (Guess I wasn't too clear about re-using pytest.ini
though.)
I'm interested in implementing but realistically I won't have any time for that till a few weeks from now :/
It's all good! I'll mark this as "help wanted" for now. Thanks!
from pytest-watch.
Just published v3.8.0 which contains this feature.
The implementation doesn't contain addopts
though because you can add config directly to the [pytest]
section instead. Let me know if this help, @aldanor.
Thanks, @aldanor and @bendtherules!
from pytest-watch.
👍
from pytest-watch.
Related Issues (20)
- broken link in the README: saythanks
- How to use with poetry? HOT 3
- Run ptw with -s HOT 3
- pytest watch seems to fail when pyproject.toml is used as a config file HOT 7
- Logging error when running pytest in pytest-watch HOT 1
- Integration with pytest-cov HOT 2
- My ptw doesn't "watch" subdirectories
- Running from "python -m pytest_watch" does not add current path to PYTHONPATH HOT 1
- ignore `Client.dataset is deprecated` warnings
- Maintenance Status? HOT 4
- pytest 7.0: AttributeError: 'dict' object has no attribute 'config' HOT 3
- error:'str' object has no attribute 'plate_num'
- Specify `python_requires` in the distribution package metadata
- Runner argument not parsed correctly on windows
- Error in Python 3.10: `module 'collections' has no attribute 'MutableSet'` HOT 5
- `ImportError` when running tests using `ptw` HOT 2
- Directories passed to pytest-watch are also passed to pytest, but shouldn't be
- sdist is missing LICENSE
- When I install pytest-watch with Python 3.11 and pip 22.3.1 I see deprecation warning HOT 1
- GO TO PYTEST-WATCHER HOT 1
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 pytest-watch.