Skip to content
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

GAC Test Harness #1311

Merged
merged 7 commits into from
Mar 1, 2024
Merged

GAC Test Harness #1311

merged 7 commits into from
Mar 1, 2024

Conversation

hunterbarber
Copy link
Contributor

Fixes/Resolves:

GAC in #1302

Summary/Motivation:

Consolidating GAC testing using new UnitTestHarness

Legal Acknowledgement

By contributing to this software project, I agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the license terms described in the LICENSE.txt file at the top level of this directory.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

@hunterbarber hunterbarber added the Priority:High High Priority Issue or PR label Feb 26, 2024
@hunterbarber hunterbarber self-assigned this Feb 26, 2024
@hunterbarber hunterbarber mentioned this pull request Feb 26, 2024
22 tasks
Copy link

codecov bot commented Feb 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.39%. Comparing base (1ee5494) to head (6cd9ac8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1311   +/-   ##
=======================================
  Coverage   94.39%   94.39%           
=======================================
  Files         371      371           
  Lines       37922    37922           
=======================================
  Hits        35796    35796           
  Misses       2126     2126           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hunterbarber hunterbarber marked this pull request as ready for review February 27, 2024 15:44
@hunterbarber
Copy link
Contributor Author

I think the best thing to do is try to get this merged as the GAC unit test harness PR, and then have subsequent PR's for the costing test as we decide what we're doing with them.

Copy link
Contributor

@MarcusHolly MarcusHolly left a comment

Choose a reason for hiding this comment

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

LGTM - I agree that costing tests can be expanded upon later in the watertap.costing.unit_models.tests directory. My only comment is that I'm unsure if the test for reporting is necessary in the unit model test - although it can't hurt.

Copy link
Contributor

@savannahsakhai savannahsakhai left a comment

Choose a reason for hiding this comment

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

LGTM. I agree that its best to leave the costing for another PR.

Copy link
Contributor

@bknueven bknueven left a comment

Choose a reason for hiding this comment

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

We should merge #1317 first as it has needed API changes for the UnitTestHarness.

def configure(self):
m = build_hand()

self.unit_model_block = m.fs.unit
Copy link
Contributor

Choose a reason for hiding this comment

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

This is now optional, but it doesn't hurt.

watertap/unit_models/tests/test_gac.py Show resolved Hide resolved
watertap/unit_models/tests/test_gac.py Show resolved Hide resolved
watertap/unit_models/tests/test_gac.py Show resolved Hide resolved
@bknueven bknueven enabled auto-merge (squash) March 1, 2024 00:00
@bknueven bknueven merged commit da51b6f into watertap-org:main Mar 1, 2024
24 checks passed
@hunterbarber hunterbarber deleted the gac_test_harness branch March 1, 2024 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:High High Priority Issue or PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants