Skip to content
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

JOSS Review: test suite #39

Closed
khinsen opened this issue Jun 13, 2022 · 3 comments
Closed

JOSS Review: test suite #39

khinsen opened this issue Jun 13, 2022 · 3 comments

Comments

@khinsen
Copy link

khinsen commented Jun 13, 2022

The repository contains a test suite (directory tests), but I have not been able to find documentation for running the tests.

It isn't difficult to run the tests:

  • install pygetpapers
  • install pytest
  • clone the pygetpapers repository
  • run "pytest" at the top level of the repository

This is not quite standard, because a test suite should not require prior installation, and the test suite should test the version of the code in the repository, not an earlier version that happens to be installed.

Suggestion:

  • If possible, modify the test suite to work like most users would expect it to work. Then add documentation, which becomes "install pytest, run pytest".
  • If for some reason this cannot be done, document the process and point out clearly that the test suite does not test the current state of the source code repository.
@petermr
Copy link
Owner

petermr commented Jun 13, 2022 via email

@ayush4921
Copy link
Collaborator

@khinsen Thanks very much for pointing this out. I have added instructions on how to run tests in the readme as well as make the system such that it runs the test on the version of pygetpapers in the current state of the source code repository.

@khinsen
Copy link
Author

khinsen commented Jun 16, 2022

Great, thanks! This works fine now.

@khinsen khinsen closed this as completed Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants