Skip to content

BF implement full Unit and Integration testing - #50

Merged
JessicaMeixner-NOAA merged 8 commits into
NOAA-EMC:developfrom
HendrikTolman-NOAA:BF-Implement-Full-L1-L2-Testing
Jul 22, 2026
Merged

BF implement full Unit and Integration testing#50
JessicaMeixner-NOAA merged 8 commits into
NOAA-EMC:developfrom
HendrikTolman-NOAA:BF-Implement-Full-L1-L2-Testing

Conversation

@HendrikTolman-NOAA

Copy link
Copy Markdown
Contributor

Description

The rather large PR #19 resulted in quite a few code changes before the PR was merged (as well as new issues). When I made these code changes, I did not check if all code had associated unit testing. This PR adds unit testing to satisfy the goal of 100% unit testing in WW4.

Issue(s) addressed

Commit Message

Bring Unit (L1) and Integration (L2) up to 100% coverage of the code.

Check list

  • [ X] Branch is up to date with the authoritative repository (NOAA-EMC) develop branch.

Testing

  • The GitHub workflow a includes running and passing all Unit and Integration tests.
  • The resulting ww4_standalone code was compiled on Ursa, and has been checked extensively with interactive runs exercising (switching on and off) of all main code options.

google-labs-jules Bot and others added 8 commits July 9, 2026 20:58
Co-authored-by: HendrikTolman-NOAA <237313876+HendrikTolman-NOAA@users.noreply.github.com>
…std_out to 100% routine coverage

Co-authored-by: HendrikTolman-NOAA <237313876+HendrikTolman-NOAA@users.noreply.github.com>
…w4_std_out, and update headers to July 9, 2026

Co-authored-by: HendrikTolman-NOAA <237313876+HendrikTolman-NOAA@users.noreply.github.com>
…88809-49680cb9

Add Level 1 unit tests for ww4_input_utils with 100% routine coverage
Achieved 100% routine coverage across memory_utils,
time_management, ww4_run_config, w4core_init, w4core_wave,
and w4core_finalize. Added direct Level 1 unit tests
and integrated them into CMake Lists and CTest.

Co-authored-by: HendrikTolman-NOAA <237313876+HendrikTolman-NOAA@users.noreply.github.com>
…-boost-261329483408775736

Boost Unit Test Coverage for WW4 Core and Utility Modules
Introduces the L1_test_ww4_standalone.cpp suite under tests/ww4_core/
to exercise the main routine of the ww4_standalone program.
The tests verify both error and success paths (with config files)
of ww4_standalone. This completes 100% routine coverage for
WW4 as validated by ww4_test_check.py.

Co-authored-by: HendrikTolman-NOAA <237313876+HendrikTolman-NOAA@users.noreply.github.com>
…84203-33433514

Add L1 test coverage for ww4_standalone main
@JessicaMeixner-NOAA
JessicaMeixner-NOAA merged commit ca619d9 into NOAA-EMC:develop Jul 22, 2026
3 checks passed
@HendrikTolman-NOAA
HendrikTolman-NOAA deleted the BF-Implement-Full-L1-L2-Testing branch July 23, 2026 22:16
@HendrikTolman-NOAA
HendrikTolman-NOAA restored the BF-Implement-Full-L1-L2-Testing branch July 23, 2026 22:17
@HendrikTolman-NOAA
HendrikTolman-NOAA deleted the BF-Implement-Full-L1-L2-Testing branch July 23, 2026 22:48
@HendrikTolman-NOAA HendrikTolman-NOAA linked an issue Jul 23, 2026 that may be closed by this pull request
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.

Missing unit and integration tests in PR #19 Template version of main routines and stand-alone model

2 participants