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

Help Write Test Functions #6

Open
Aakash-Tripathi opened this issue Feb 26, 2024 · 0 comments
Open

Help Write Test Functions #6

Aakash-Tripathi opened this issue Feb 26, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Aakash-Tripathi
Copy link
Contributor

XKCD #927:

engineering_hubris
Anything that can go wrong will go wrong.

Help Write Test Functions for MINDS

I'm working on expanding test coverage for the MINDS framework to validate functionality and prevent regressions. Help writing unit and integration tests would be greatly appreciated!

Areas Needing Tests

Some key modules and flows that could benefit from testing:

  • minds.update()
    • Validate data is imported correctly
    • Test incremental updates
  • minds.build_cohort()
    • Test different query and filter combinations
    • Validate generated cohort data
  • minds.download()
    • Test download of different cohort formats
    • Validate correct data is downloaded
  • Database query interface
    • Unit test query building
    • Validate queries return expected results
  • Core data processing modules
    • etl/ - Validate data transformations
    • integrate/ - Test multimodal integrations

Guidelines

When writing tests, please:

  • Use PyTest for unit tests and pytest-docker for integration tests
  • Follow file naming test_<module>.py
  • Use descriptive assert statements
  • Use fixtures and parametrize where applicable

Assistance Appreciated

Additional test coverage will go a long way to improving MINDS reliability and maintainability. Any help is greatly appreciated!

@Aakash-Tripathi Aakash-Tripathi added documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant