Skip to content

Correct test descriptions for fuzzing #913

Open
@alisevych

Description

@alisevych

Description

Fuzzing test descriptions should be easily understood by user.
Text "mutated from 0" is a bit confusing because users know about fuzzing mechanisms very rarely.
Need to consider a better way to inform the user why the particular value is used.

Expected behavior

Remove unneeded information from test description - it is required for the test run report and thus should be easily read.

Environment

IntelliJ IDEA 2022.1.4
JDK 8 / 11

Potential alternatives

Probably add information that the value is random to the Java doc.

Context

For example:
utbot-sample/src/main/java/org/utbot/examples/recursion/Recursion.java
methods: factorial, fib

    @DisplayName("fib: n = 1024 (mutated from 0)")

    @DisplayName("factorial: n = 134217728 (mutated from 0) -> throw StackOverflowError")

Metadata

Metadata

Assignees

Labels

comp-summariesSomething related to the method names, code comments and display names generationctg-enhancementNew feature, improvement or change request

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions