-
Notifications
You must be signed in to change notification settings - Fork 257
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 scripts & plugins #133
Comments
I like your points. One point I could add is that I'm pretty happy with the minimal style of tests in pymol-psico. There is no shared infrastructure code. Every test function calls |
It would be an heroic work in my opinion because all the plugins should be properly understood in order to achieve this. But I agree with minimalist tests like ones at |
Oops, I rather say to choose some current/old plugins/scripts to test and have it as example. |
What is What is the purpose of I think that plugins/scripts with multiple files like code, example and data file (like Then tests can be placed in it's own directory like at There is any difference between code at root and at |
As suggested in #132 , tests would be nice to have, but there's currently no foundation in place in this repository. Perhaps we should start looking into some. I'm creating a quick plugin that I plan on writing tests for but before submitting them, we should probably agree on what those would look like. Couple of points that pop up in my head are:
pytest
(as we're currently trying forpymol-testing
)?pymol-testing
(to cut redundancy if possible)? Usingpymol-testing
as a submodule here could be an option to share some of those functions.The text was updated successfully, but these errors were encountered: