-   Notifications  You must be signed in to change notification settings 
- Fork 45
Exclude third-party libs from coverage statistics #2282
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
   Merged  
     Merged  
  Conversation
   This file contains hidden or 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   
     3eb345e to 8c34155   Compare      utbot-framework-api/src/main/kotlin/org/utbot/framework/plugin/api/Api.kt  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  
 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  
 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    
  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  
 c85d47c to 3b78cf0   Compare      utbot-framework/src/main/kotlin/org/utbot/framework/plugin/api/TestCaseGenerator.kt  Outdated   Show resolved Hide resolved  
 3b78cf0 to f7dc402   Compare     EgorkaKulikov  approved these changes   Jun 23, 2023    
  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-testingprojectOrderService.createOrdermethodManual tests
Tested on
ilya_m/ilya_m/spring_integration_test_prototypebranch. There are two instead of >8 tests.