Skip to content

Test coverage does not cover specified use cases #70

@DanNBullock

Description

@DanNBullock

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions