Skip to content

Better naming for functions and comments could be deduced from fuzzer routines  #180

Closed
@denis-fokin

Description

@denis-fokin

Description

Fuzzer can provide more information about values to produce a better names for functions, such as testWithIntegerMinValue, testWithStringConstant, etc. We can combine names for several parameters as well using 'and' like this: testWithCharDefaultValueAndIntegerConstant.

Also, fuzzer models can provide this info within the values to generate names by another methods.

Expected behavior

Fuzzer generated methods should have more meaningful names instead of testMethodByFuzzer0. For example, if there's a method void foo(int value) next test can be generated:

  • testFooWithIntegerDefaultValue
  • testFooWithIntegerMinValue
  • testFooWithIntegerConstantValue

Tests with same group but different values can have number in the name.

Metadata

Metadata

Assignees

Labels

ctg-enhancementNew feature, improvement or change requestpriority-top-focusTop priority chosen by dev team

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions