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

Issue464 move io html #473

Merged
merged 9 commits into from
Aug 12, 2022
1 change: 1 addition & 0 deletions contributors.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ Thank you to all who have provided guidance on the development of this software.
- Harald Walnum, SINTEF
- Michael Wetter, Lawrence Berkeley National Laboratory
- Tao Yang, University of Southern Denmark
- Ettore Zanetti, Lawrence Berkeley National Laboratory
11 changes: 11 additions & 0 deletions data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,14 @@ object in the process of initializing the test.
data only for the requested index or period of time. This
method would be used by the ``KPI_Calculator`` or
``Forecaster`` modules.

## Generate Documentation for Test Case I/O Points
``get_html_IO.py`` can be used to generate the html documentation
code for I/O in alphabetical order.
Outputs of the script:
- ``inputs.txt``: html code documenting the inputs
- ``measurements.txt``: html code documenting the outputs

In order to run the script, deploy the BOPTEST testcase, where the deployment
guide is in the ``README.md`` file in the root directory. Then, open a terminal
in the ``/data`` folder and run the script ``python get_html_IO.py``.
File renamed without changes.
3 changes: 2 additions & 1 deletion releasenotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ Released on xx/xx/xxxx.

**The following changes are backwards-compatible and do not significantly change benchmark results:**

- Add unit test reporting script to each individual unit test target in the ``testing/makefile``. This is for [#466](https://github.com/ibpsa/project1-boptest/issues/466).
- Add ``get_html_IO.py`` to ``/data`` folder and remove it from ``/testcases`` folders to avoid code duplication. This is for [#464](https://github.com/ibpsa/project1-boptest/issues/464).
- Abstract the definition of input and output lists within if-else statements in the API unit tests in ``utilities.py`` to the setUp method in each test cases's specific testing file ``test_<testcase>``, by introducing the ``input`` and ``measurement`` attributes. This is for [#463](https://github.com/ibpsa/project1-boptest/issues/463).
- Add unit test reporting script to each individual unit test target in the ``testing/makefile``. This is for [#466](https://github.com/ibpsa/project1-boptest/issues/466).

## BOPTEST v0.3.0

Expand Down
58 changes: 0 additions & 58 deletions testcases/bestest_hydronic/models/get_html_IO.py

This file was deleted.

58 changes: 0 additions & 58 deletions testcases/bestest_hydronic_heat_pump/models/get_html_IO.py

This file was deleted.

58 changes: 0 additions & 58 deletions testcases/multizone_office_simple_air/models/get_html_IO.py

This file was deleted.

59 changes: 0 additions & 59 deletions testcases/multizone_residential_hydronic/models/get_html_IO.py

This file was deleted.

58 changes: 0 additions & 58 deletions testcases/singlezone_commercial_hydronic/models/get_html_IO.py

This file was deleted.