-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Testing] Add Pytest.ini file in Python Directory for Local Pytest Configuration #2539
Comments
Further techniques to add to documentation (thank you to @kbuc for these) : One can also run with |
Why was this issue closed? The file
And if I do that I get tons of warnings:
Of course, if I start to look around there's a link in
and at the end of that lengthy document there's a section Fixing warnings. That's not a great user experience. If I as an experienced developer find that bothersome and had to spend some time to find that paragraph how must that feel for a beginner? To quote Raymond Hettinger: "There must be a better way", right? |
Hi @siebenschlaefer -- Thanks for the poke. 😄 YES -- there is indeed a better way -- and I need to follow up on it. See issue #2745 -- which is a similar issue outlining what we will ultimately do (and why we closed this issue): have the said But more to your point: we also need to change the I'll go ahead and create those issues later today my time. Meanwhile, since this issue is about creating the |
@siebenschlaefer - I've made updates to @ErikSchierboom - any update on whether or not we've got the |
Since we're using a custom
pytest.marks.task(taskno)
for our Concept exercise tests, we need to have a way for CLI users to register them. Otherwise, PyTest complains for every test locally (see issue #2536).The most expedient way to do this is to provide a
pytest.ini
file as part of the python exercise directory.If we'd rather not do it in the main
exercism/python
folder, we could add it intoexercism/python/exercise
orexercism/python/exercises/concept
.Additionally, we should update the documentation to show users how to register or ignore the marks themselves.
The ini file should include:
The text was updated successfully, but these errors were encountered: