Skip to content

Test assertions produce verbose logs #156

Description

@HendrikHuebner

Some of the tests in the new CI produce extremely verbose logs, even when they pass, since we print one line per passed assertion. This leads to thousands of redundant lines in the logs:

  Passed test:     general.m:66 ... CFDictionaryGetValue returns value for key 'key-2267' to remove
  Passed test:     general.m:66 ... CFDictionaryGetValue returns value for key 'key-2268' to remove
  Passed test:     general.m:66 ... CFDictionaryGetValue returns value for key 'key-2269' to remove
  Passed test:     general.m:66 ... CFDictionaryGetValue returns value for key 'key-2270' to remove

These tests should be refactored, so the assertions are aggregated. In this case, one assertion for all keys should be enough, with additional information being reported on failure. Other tests have similar issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions