Skip to content

Limited coverage in regression testing #325

Description

@RaphaelGebhart

Issue: Limited coverage in regression testing

Our default regression testing workflow evaluates states only. In case of the TFS this is primarily the mass flow rate.

With this selection simulation variables, e.g. the thermodynamic state, is often not sufficiently represented. This is particularly problematic for models in ThermofluidStream.Idealized, where the mass flow rate is frequently an input and not a simulation result. As a result, regression testing may fail to detect relevant behavioral changes.

Proposed way forward

Adopt a CSV-based comparison as the default regression testing workflow:

  • Set up the csv-compare workflow
  • Generate reference datasets
  • Provide a concise, beginner-friendly how-to guide

Introduce dedicated states for selected variables (e.g. via Modelica.Blocks.Continuous.FirstOrder) to make them accessible for regression testing. After further discussion, we decided not to pursue this approach.

Metadata

Metadata

Labels

p::ExamplesConcerns package Examples

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions