Skip to content

Conversation

@cwo3990
Copy link
Contributor

@cwo3990 cwo3990 commented Dec 2, 2025

Description

This PR creates the initial automated unit tests for the operator and Ichor projects. It also introduces automation for running these unit tests via GitHub Actions and uploading the results.

Closes #75

Metrics

  • PR Confidence value(1 ~ 5): 3
    • Not sure how well the automation for creating a test report will work

…ocket config, ER_V config, Scorbot, Ichor config, and Ichor arm classes. Created main files for all tests in common, ER_V, and Ichor. Updated makefiles at root and in common, ER_V, and Ichor to remove test building since they are located in another file. Added makefiles for the tests for common, ER_V, and Ichor
…sues with compiling the tests for the erv and Ichor
Copy link
Contributor

@rtyocum rtyocum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly looks good, just a few small semantics

README.md Outdated
make test_all

# Individual make commands
make common_test
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move from test to test

Copy link
Contributor

@hiromon0125 hiromon0125 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm
Not this PR but I think we should look into extracting metrics from these tools

@cwo3990 cwo3990 requested a review from rtyocum December 10, 2025 21:01
@cwo3990
Copy link
Contributor Author

cwo3990 commented Dec 10, 2025

Lgtm Not this PR but I think we should look into extracting metrics from these tools

@hiromon0125 Absolutely agree. As far as collecting code coverage metrics goes, I added a TODO comment at the end of run-tests.yml to decide between a few different tools for creating code coverage reports. They all have similar features and one of the major differences between them is that some can store results in the cloud elsewhere, while others would run locally inside the action and store their outputs as an artifact for the action. We will have to discuss our options as a team because some of these require the organization to set them up for the repo as opposed to one of us trying to do it individually (I already looked into trying to use codecov on my own)

Copy link
Contributor

@hiromon0125 hiromon0125 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

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

Successfully merging this pull request may close these issues.

Operator Unit tests

4 participants