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

Unit test setup #21

Merged
merged 15 commits into from
Aug 29, 2024
Merged

Unit test setup #21

merged 15 commits into from
Aug 29, 2024

Conversation

timbernat
Copy link
Owner

@timbernat timbernat commented Aug 29, 2024

Description

Set up polymerist.tests to enable pytest compatibility and give a home to unit tests for future PRs

Status

  • Add data directory to tests
    • Make data accessible in build via pyproject.toml
  • Set up filetree in tests which mirrors the package structure of polymerist code
  • Moved existing DISCERNMENT unit tests from .genutils.sequnces.discernment to .tests proper
  • Add module for package resource import and inspection
    • Write unit tests for this module

@timbernat timbernat self-assigned this Aug 29, 2024
Copy link
Owner Author

@timbernat timbernat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes don't touch existing code, and are sorely needed for future feature PRs

@timbernat timbernat merged commit c7f191a into main Aug 29, 2024
0 of 6 checks passed
@timbernat timbernat deleted the unit-test-setup branch August 29, 2024 01:03
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

Successfully merging this pull request may close these issues.

1 participant