-
-
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
Unknown marking detected by pytest: pytest.mark.task #2536
Comments
Hi @eirnym 👋🏽 Thanks for logging this issue! Yes - agree we should have instructions (at the very least) on how to register the marks - or a The marks are not for selecting tests or resources -- they're being used by our track test runner to associate Concept exercise We use the same test files for the website that are downloaded via the CLI -- so unfortunately, the mark shows up for local runs as well. If you are curious about the test runner interface, you can take a look at this specification for track test runners. The marks aren't being used meaningfully in the CLI context right now. We haven't gotten around to updating the "run this locally" documentation yet with register/disable/config info. 😅 Hopefully, we can do that soon, and also include a Meanwhile, you can avoid the nag by running pytest locally with the
|
I've logged the |
why this issue is not a bug report? |
Because I was tired, and had also re-logged this as issue #2539, for clarity in what needs changing. 😄 Closing this now in favor of that issue. |
This marker seems to be not defined anywhere on resources given to a student (see docs folder). Thus with typical installation using virtual environment with only
pytest
andpytest-cache
installed as suggested in TEST.md file, a student will get a warning such as below. I suggest to extend documentation or a setup, which student downloads usingexercism
command by including this mark at least as suggested in official documentationThe text was updated successfully, but these errors were encountered: