SPF-OST / pytrnsys_gui

Graphical user interface for pytrnsys
https://pytrnsys.readthedocs.io
GNU Lesser General Public License v3.0
3 stars 4 forks source link

Create GUI test for storage tank #121

Open martin-neugebauer opened 3 years ago

martin-neugebauer commented 3 years ago

As #119 happened, it made me aware that we need a test that emulates a user configuring a storage tank and make sure that this goes as intended. In the mentioned bug the program crashed upon removing heat exchangers and when placing port pairs on a Tes, i.e. the program was crashing during a basic task.

ahobeost commented 13 hours ago
ahobeost commented 9 hours ago

@sebastian-swob: The views and mocks in the following file should be separated to make it easier to reuse individual pieces. https://github.com/SPF-OST/pytrnsys_gui/blob/master/tests/trnsysGUI/testStorageTank.py

As part of this issue, it would especially be interesting to prepare the editor as a callable mock.