Skip to content

Create UnitTests with Pytest for all classes, functions, and scripts under MAIA/ and MAIA_scripts #75

@SimoneBendazzoli93

Description

@SimoneBendazzoli93

Objective

Develop comprehensive unit tests using Pytest for all classes, functions, and scripts located in both the MAIA/ and MAIA_scripts/ directories.

Tasks

  • Identify all classes and functions in MAIA/ and MAIA_scripts/
  • Write Pytest-based unit tests for each class and function
  • Ensure coverage for edge cases and expected failures
  • Add tests for the main execution paths within scripts
  • Document all tests clearly

Acceptance Criteria

  • All code in MAIA/ and MAIA_scripts/ is covered by Pytest unit tests
  • Tests are easy to run locally and in CI
  • Tests can be executed with pytest
  • PR includes documentation or comments for new tests

Additional Notes

  • Use best practices for Pytest structure and assertions
  • If any functionality is hard to test, document the reasons

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions