Skip to content

Allow UTBotPython to proceed test generation till timeout when function has full annotation #1874

Closed
@tamarinvs19

Description

@tamarinvs19

Description

When we have only one type we can use all time to generate tests for this annotation instead of splitting time for other inferred annotations (and wasting time).

Expected behavior

If function is annotated and all types are full (no one missed part, no one typing.Any, no one generic, no one protocol) UtBot will proceed test generation till timeout.

Potential alternatives

In future we can make option for this feature and add different modes of test generation:

  • cover all branches and exit
  • use all possible time

Metadata

Metadata

Assignees

Labels

ctg-enhancementNew feature, improvement or change requestlang-pythonIssue is related to python support

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions