Skip to content

Issue 2 — [Dev] Add Unit Tests + CI #3

@leenathomas01

Description

@leenathomas01

[Dev] Add Unit Tests + CI

📌 Motivation

To ensure long-term reliability, we need automated testing.
Unit tests + CI (Continuous Integration) will help validate algorithm correctness as the repo evolves.

🎯 Goal

  • Introduce pytest test suite covering core functions
  • Add a basic GitHub Actions workflow to run tests on each commit/PR
  • Validate results of sample runs (e.g., output stability, convergence checks)

💡 Potential Approaches

  • Start with unit tests for LMS adaptation and benchmarking functions
  • Add tolerance-based comparisons for numerical outputs
  • Extend gradually as more modules are added

✅ Expected Outcomes

  • A tests/ folder with initial pytest scripts
  • A .github/workflows/ci.yml file running tests automatically

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions