Skip to content

Go. Stop test generation for a function if it's covered by 100% #1806

Closed

Description

@alisevych

Description

Timeout per class is not distributed evenly between functions.
And tests generation for a function takes all the time allotted.

Expected behavior

Calculate coverage and stop generation for function if coverage is 100% or if timeout per function is reached.
Then distribute remaining time between remaining functions.

Environment

IntelliJ IDEA 2022.1 - 2022.2 Ultimate / Community
GoLand 2022.2

Potential alternatives

Context

Test generation for Go-files.

Activity

  1. added
    ctg-enhancement
    spec-performance
    lang-go
    on Feb 17, 2023
  2. added
    ctg-question
    on Mar 2, 2023
  3. added this to the 2023.03 Release milestone on Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ctg-enhancementctg-questionlang-gospec-performance

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions