Skip to content

Wrong logic of error messages in List<UtExecution>.checkMatchersWithDisplayNames #383

Closed

Description

@amandelpie

Description

List.checkMatchersWithDisplayNames and other checkers prints summaries if something goes wrong like here:

Assertions.assertTrue(notMatchedExecutions.isEmpty()) { "Not matched display names ${summaries(notMatchedExecutions)}" }

To Reproduce

Run the test in utbot-summary with the error test data

Expected behavior

You obtain correct and clear message what's exactly wrong and what part of summaries is missed

Actual behavior

It prints comments in all cases (not matched display names, not matched test names and not matched comments)

Activity

  1. self-assigned this
    on Jul 4, 2022
  2. added
    ctg-bug
    comp-summaries
    on Jul 4, 2022
  3. Repository owner moved this from Todo to Done in UTBot Javaon Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

comp-summariesctg-bug

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions