Skip to content
This repository was archived by the owner on Aug 14, 2025. It is now read-only.
This repository was archived by the owner on Aug 14, 2025. It is now read-only.

Tests do not validate first line (= column name) of output against reference? #169

Description

@BenjaminRodenberg

The first line of the reference results (= column names) seems to have no influence on the tests. A recent breaking change updated some of the column names in the output. However, the tests do not validate the the first line of the output against the reference results. I came to this conclusion based on this test, where the error (difference between output and reference) in the first line is not detected. As a reminder:

The first line of the reference results reads

Timesteps Total_Iterations Iterations Convergence avgConvRate(0) deleted_Columns

However the format introduced in precice/precice#620 differs from this one. In #168 I started updating the column names correspondingly for a different test case.

What does this mean?

Currently our tests ignore the column names when comparing the output to the reference files. Therefore, we do not see errors in the column names. In the best case this leads to reference results that are inconsistent with our specification, if we forget to update the (e.g. via #168). This is ugly. In the worst case, columns might be totally mixed up and we do not notice it. This is bad.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions