Skip to content

Conversation

@amrit110
Copy link
Member

@amrit110 amrit110 commented Nov 3, 2025

This pull request introduces several improvements to the testing infrastructure and command-line interface for the aieng_platform_onboard package. The main changes include adding a GitHub Actions workflow for running unit tests, enhancing the CLI with a version flag, and providing comprehensive pytest fixtures to support testing.

Testing infrastructure improvements:

  • Added a new GitHub Actions workflow (.github/workflows/unit_tests.yml) to automatically run unit tests, collect coverage, and upload results to Codecov on pushes and pull requests.
  • Added a tests/conftest.py file with a comprehensive set of pytest fixtures for mocking Firestore, HTTP requests, Google authentication, subprocesses, and console output, as well as providing sample data for participants, teams, and global keys.
  • Added a module docstring to tests/__init__.py for clarity.

CLI enhancements:

  • Added a get_version function and a --version command-line argument to the CLI, allowing users to display the installed package version. [1] [2] [3]

@amrit110 amrit110 self-assigned this Nov 3, 2025
@amrit110 amrit110 added enhancement New feature or request tests Unit or Integration tests labels Nov 3, 2025
@codecov
Copy link

codecov bot commented Nov 3, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@amrit110 amrit110 merged commit b5e7888 into main Nov 3, 2025
6 of 7 checks passed
@amrit110 amrit110 deleted the add_tests branch November 3, 2025 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request tests Unit or Integration tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants