-
Notifications
You must be signed in to change notification settings - Fork 46
Move test-specific implementation #1327
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
Move test-specific implementation #1327
Conversation
dc602ce
to
6e5cd0e
Compare
a11592f
to
0cf6238
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor issues, mostly about redundant empty lines
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
utbot-framework-test/src/test/kotlin/org/utbot/examples/mock/model/UseNetworkModelBasedTest.kt
Outdated
Show resolved
Hide resolved
utbot-framework-test/src/test/kotlin/org/utbot/examples/mock/model/FieldMockChecker.kt
Outdated
Show resolved
Hide resolved
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
@@ -4,9 +4,10 @@ import examples.CustomJavaDocTagsEnabler | |||
import examples.SummaryTestCaseGeneratorTest | |||
import org.junit.jupiter.api.Test | |||
import org.junit.jupiter.api.extension.ExtendWith | |||
import org.utbot.tests.infrastructure.DoNotCalculate | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
@@ -2,9 +2,10 @@ package examples.ternary | |||
|
|||
import examples.SummaryTestCaseGeneratorTest | |||
import org.junit.jupiter.api.Test | |||
import org.utbot.tests.infrastructure.DoNotCalculate | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
@@ -3,9 +3,10 @@ package math | |||
import examples.SummaryTestCaseGeneratorTest | |||
import guava.examples.math.IntMath | |||
import org.junit.jupiter.api.Test | |||
import org.utbot.tests.infrastructure.DoNotCalculate | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
@@ -4,9 +4,10 @@ import examples.SummaryTestCaseGeneratorTest | |||
import guava.examples.math.Stats | |||
import org.junit.jupiter.api.Disabled | |||
import org.junit.jupiter.api.Test | |||
import org.utbot.tests.infrastructure.DoNotCalculate | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
utbot-summary/build.gradle.kts
Outdated
@@ -17,4 +17,5 @@ dependencies { | |||
implementation("com.github.javaparser:javaparser-core:3.22.1") | |||
testImplementation("org.mockito:mockito-core:4.2.0") | |||
testImplementation("org.junit.jupiter:junit-jupiter:$junit5Version") | |||
testImplementation(project(":utbot-testing")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it required? As I see, utbot-summary-tests
module already has such dependency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very true, thank you
Description
I have moved test-specific code in a separate Gradle module. Now this code could be referenced individually by different parts of our implementation (summaries/framework tests)
Fixes #1349
Type of Change
Please delete options that are not relevant.
How Has This Been Tested?
Automated Testing
Local and remote automatic test have passed.
Manual Scenario
No specific scenarios.
Checklist (remove irrelevant options):