Skip to content

Unit tests review #45

@amhanson9

Description

@amhanson9

I made a lot of unit tests at once and then edited a lot of those functions. Do a review to make sure each test has all the necessary variations and are as close as possible to how the function works in production (input data types, where it saves, etc.). Also look for things that could more efficient, like using functions for repetitive code (e.g., read CSV into pandas and df to list) or make seed_df within setUp and use row index to access the right row for each test, instead of a separate seed_df for each test. It makes it easier to update later when there are changes to seed_df.

Reviewed all unit tests and made some changes when moved to Linux. Additional ideas are below or in separate issues.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions