Skip to content

Fuzzer should generate tests for simple collection with generic types #875

Closed
@Markoutte

Description

@Markoutte

Description

For simple methods fuzzer can and should generate test that fills collection with some data. Consider this example:

public <T> Map<String, T> sortedMap(Map<String, T> source) {
    return new TreeMap<>(source);
}

Both fuzzer and symbolic execution create empty map. But this test is not very interesting. Fuzzer should add some values into a map to run it with them and check, how it affects the result.

Metadata

Metadata

Assignees

Labels

comp-fuzzingIssue is related to the fuzzing

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions