You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below you can find an overview of all the tests I could think of (so far) and the required fixtures (ESDL files). @Charlottevm it would be great if you could create the fixtures and push those to the mmvib-tests branch. And feel free to add tests and fixtures to this list!
test_esdl_to_scenario_converter.py
Test if the app can calculate ETM inputs for different fixtures
Fixture representing the macro case
Fixture representing the meso case
Fixture representing the micro case
Test what happens when no (top) area is specified
Fixture without area ID
Test what happens when no date instance is specified
Fixture without date instance
test_scenario_to_esdl_converter.py
Test ...
Fixture ...
test_range_handler.py
Test if a range is added when there is none specified for the asset yet
Fixture with an asset (either volatile or flexible) without a range
Test if the range is updated when it yet includes one
Fixture with an asset (either volatile or flexible) with a range
Test if the range is updated when it includes one without attributeReference="power" being specified
Fixture with an asset (either volatile or flexible) with a range but withoutattributeReference="power"
test_cost_handler.py
Test ...
Fixture ...
The text was updated successfully, but these errors were encountered:
Test if range is added to all relevant assets (whether range is present or not present in original esdl)
Test if power is deleted when range is added (for correct assets)
Test assets (smr, electrolyzer, pv, wind, mobility demand):
Test if attributes flh, power (range) and marginal costs have been changed for all production and conversion assets (whether attribute is present or not present in original esdl)
Test if attributes flh, power and full load hours have been changed (whether attribute is present or not present in original esdl)
create_scenario
Test assets (smr, electrolyzer, pv, wind):
Test if slider is set when asset is present in esdl
Test if power is given but no flh are present, power should be set
Test if power is not given but asset is present, slider is set to zero
Meso
export_scenario
Test filter:
Test if only the cost of the carrier electricity are added / changed
Test if carrier (or asset) given in filter is present in esdl, otherwise give warning message
Test kpi's:
Test if kpi's are added if not present
Test if kpi's are changed when present
Micro
create_with_context
Test assets (pv, wind, battery, heatpump, heat mix buildings):
Test if slider has been changed if asset
Test if area is within scenario area
Test if assets change is expected by compairing if both delta's are positves or negative
Notifying @redekok, @noracato if you have any other tests you would like to see let us know!
Below you can find an overview of all the tests I could think of (so far) and the required fixtures (ESDL files). @Charlottevm it would be great if you could create the fixtures and push those to the
mmvib-tests
branch. And feel free to add tests and fixtures to this list!test_esdl_to_scenario_converter.py
test_scenario_to_esdl_converter.py
test_range_handler.py
attributeReference="power"
being specifiedattributeReference="power"
test_cost_handler.py
The text was updated successfully, but these errors were encountered: