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
Update Testing Docs regarding Primer #7714
Comments
Yes, this is very out of date. Not only is there no longer a batch two, |
These are the latest version of the docs: https://pylint.pycqa.org/en/latest/development_guide/contributor_guide/tests/launching_test.html#primer-tests |
Ah! No I think I actually made a mistake. The link I provided Given https://pylint.pycqa.org/en/v2.15.5/development_guide/contributor_guide/tests/launching_test.html exists and has the correct docs, I'll close this issue. Thanks for clarifying! |
That documentation is still out of date. It only refers to the old primer. |
See #7685 (comment) for how to run primer |
Would it be an idea to add the primer commands to tox and document how to run the primer using tox? |
That could work but primer are slow and tox also make things slower. (We'd have to check that the primed repoes are not downloaded by tox each time). I guess new contributor would appreciate to have a Regardless of what we do to make it easier to launch primer, we can close this issue once the primer are documented more clearly in the doc. |
I would be all for documenting the full commands
while also adding to tox and indicating both can be used. As a frequent contributor, it took me waaay to long to figure out how to run primer locally... |
Also it should probably be launchable with a single command and no argument ( |
It was a conscious decision to separate the commands to be able to easily reuse currently cloned project. We could add an |
Sure and it's a good thing, but we can auto-detect that the repositories were already cloned. |
Bug description
Primer testing docs mention
batch_one
andbatch_two
:at the very least, the suggested command with batch_two doesn't run any tests.
but I don't find any
batch_two
in the repo. Should this documentation be updated?Configuration
No response
Command used
Pylint output
Expected behavior
n/a
Pylint version
OS / Environment
n/a
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: