Skip to content

Developing a comprehensive unit test framework for PorQua #21

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

Open
pingluuu opened this issue Feb 28, 2025 · 2 comments
Open

Developing a comprehensive unit test framework for PorQua #21

pingluuu opened this issue Feb 28, 2025 · 2 comments

Comments

@pingluuu
Copy link

Tackle the issue of lacking unit tests in PorQua, making PorQua more reliable for financial optimization.
The revelent page: Developing a comprehensive unit test framework for PorQua

@pingluuu
Copy link
Author

pingluuu commented Mar 5, 2025

In the existing test file test/tests_quadratic_program.py, the parameters universe, params, and solver are lacking for the TestLeastSquare function, this needs further implementation.

@Konikz
Copy link

Konikz commented Mar 29, 2025

Hi @pingluuu ,

I have implemented comprehensive unit test framework in #29. It addresses the need for improved test coverage and reliability by introducing:

  • A structured pytest framework for automated testing.
  • GitHub Actions integration for continuous testing.
  • Unit tests for optimization algorithms, data handling, and backtesting functions.
  • Performance and edge case tests to ensure numerical stability.
  • Improved code coverage enforcement using pytest-cov and documentation for testing workflows.

It's my small contribution to PorQua’s and I am hoping this helps and looking forward to any feedback!

Additionally, I’m planning to submit another proposal for GSoC 2025, and I hope this work demonstrates my commitment to contributing meaningfully to the project.

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

No branches or pull requests

2 participants