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

Test coverage does not cover specified use cases #70

Open
DanNBullock opened this issue Oct 12, 2022 · 0 comments
Open

Test coverage does not cover specified use cases #70

DanNBullock opened this issue Oct 12, 2022 · 0 comments

Comments

@DanNBullock
Copy link

def test_citations(url, expected):
my_software = Software(url)
my_software.find_metadata()
assert my_software.citation_plain == expected

The general test coverage designated above, for the items generated in production_tests.py (I think?), doesn't cover all of the use cases specified on the website.

Namely, I was thinking about cases where simply the name of the package was typed in, for example 'numpy', 'pandas', or 'scipy'. I would expect that to be a fairly common use case, no? Currently it seems that only one of those cases ('scipy') works reliably.

Also, great tool! Hope it achieves success.

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

1 participant