-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclude third-party libs from coverage statistics #2282
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sofurihafe
force-pushed
the
andrey-t/no_third_party_coverage
branch
from
June 13, 2023 12:37
3eb345e
to
8c34155
Compare
sofurihafe
added
ctg-enhancement
New feature, improvement or change request
comp-spring
Issue is related to Spring projects support
comp-minimizer
Issue is related to Minimization phase
labels
Jun 13, 2023
utbot-framework-api/src/main/kotlin/org/utbot/framework/plugin/api/Api.kt
Outdated
Show resolved
Hide resolved
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/TestCaseGenerator.kt
Outdated
Show resolved
Hide resolved
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/TestCaseGenerator.kt
Outdated
Show resolved
Hide resolved
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/TestCaseGenerator.kt
Outdated
Show resolved
Hide resolved
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/TestCaseGenerator.kt
Outdated
Show resolved
Hide resolved
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/TestCaseGenerator.kt
Outdated
Show resolved
Hide resolved
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/TestCaseGenerator.kt
Outdated
Show resolved
Hide resolved
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/TestCaseGenerator.kt
Outdated
Show resolved
Hide resolved
sofurihafe
force-pushed
the
andrey-t/no_third_party_coverage
branch
2 times, most recently
from
June 14, 2023 10:35
2674893
to
5ff573c
Compare
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/TestCaseGenerator.kt
Outdated
Show resolved
Hide resolved
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/TestCaseGenerator.kt
Outdated
Show resolved
Hide resolved
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/TestCaseGenerator.kt
Outdated
Show resolved
Hide resolved
utbot-js/src/main/kotlin/framework/api/js/JsUtFuzzedExecution.kt
Outdated
Show resolved
Hide resolved
utbot-python/src/main/kotlin/org/utbot/python/framework/api/python/PythonApi.kt
Outdated
Show resolved
Hide resolved
sofurihafe
force-pushed
the
andrey-t/no_third_party_coverage
branch
from
June 14, 2023 12:49
5ff573c
to
5678d22
Compare
IlyaMuravjov
approved these changes
Jun 14, 2023
IlyaMuravjov
requested changes
Jun 15, 2023
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/TestCaseGenerator.kt
Outdated
Show resolved
Hide resolved
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/TestCaseGenerator.kt
Outdated
Show resolved
Hide resolved
IlyaMuravjov
approved these changes
Jun 15, 2023
sofurihafe
force-pushed
the
andrey-t/no_third_party_coverage
branch
2 times, most recently
from
June 16, 2023 14:20
97417f1
to
6d76cbd
Compare
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/TestCaseGenerator.kt
Outdated
Show resolved
Hide resolved
utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/generator/UtTestsDialogProcessor.kt
Outdated
Show resolved
Hide resolved
sofurihafe
force-pushed
the
andrey-t/no_third_party_coverage
branch
from
June 22, 2023 15:44
c85d47c
to
3b78cf0
Compare
utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/TestCaseGenerator.kt
Outdated
Show resolved
Hide resolved
sofurihafe
force-pushed
the
andrey-t/no_third_party_coverage
branch
from
June 23, 2023 10:11
3b78cf0
to
f7dc402
Compare
EgorkaKulikov
approved these changes
Jun 23, 2023
sofurihafe
force-pushed
the
andrey-t/no_third_party_coverage
branch
from
June 23, 2023 10:19
f7dc402
to
3a53bb4
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
comp-minimizer
Issue is related to Minimization phase
comp-spring
Issue is related to Spring projects support
ctg-enhancement
New feature, improvement or change request
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR improves minimization process in Spring-specific integration test generation process by excluding third-party and standard java lib instructions from coverage analysis. This fixes duplicate tests.
Fixes #2218
How to test
spring-boot-testing
projectOrderService.createOrder
methodManual tests
Tested on
ilya_m/ilya_m/spring_integration_test_prototype
branch. There are two instead of >8 tests.