We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12616ac commit 3c02b0bCopy full SHA for 3c02b0b
utbot-framework/src/main/kotlin/org/utbot/engine/UtBotSymbolicEngine.kt
@@ -497,6 +497,10 @@ class UtBotSymbolicEngine(
497
var attempts = 0
498
val attemptsLimit = UtSettings.fuzzingMaxAttempts
499
val hasMethodUnderTestParametersToFuzz = executableId.parameters.isNotEmpty()
500
+ if (!hasMethodUnderTestParametersToFuzz && executableId.isStatic) {
501
+ // Currently, fuzzer doesn't work with static methods with empty parameters
502
+ return@flow
503
+ }
504
val fuzzedValues = if (hasMethodUnderTestParametersToFuzz) {
505
fuzz(methodUnderTestDescription, modelProvider(defaultModelProviders(defaultIdGenerator)))
506
} else {
0 commit comments