File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed
utbot-framework-api/src/main/kotlin/org/utbot/framework
utbot-instrumentation/src/main/kotlin/org/utbot/instrumentation/process Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,9 @@ allprojects {
55
55
minHeapSize = " 128m"
56
56
maxHeapSize = " 3072m"
57
57
58
+ testLogging.showStandardStreams = true
59
+ testLogging.exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat .FULL
60
+
58
61
jvmArgs = listOf (" -XX:MaxHeapSize=3072m" )
59
62
60
63
useJUnitPlatform {
@@ -63,9 +66,14 @@ allprojects {
63
66
64
67
addTestListener(object : TestListener {
65
68
override fun beforeSuite (suite : TestDescriptor ) {}
66
- override fun beforeTest (testDescriptor : TestDescriptor ) {}
69
+ override fun beforeTest (testDescriptor : TestDescriptor ) {
70
+ println (" ----------------------------[${testDescriptor.className} ] [${testDescriptor.displayName} ]--------------------------------------" )
71
+ }
67
72
override fun afterTest (testDescriptor : TestDescriptor , result : TestResult ) {
68
- println (" [$testDescriptor .classDisplayName] [$testDescriptor .displayName]: $result .resultType" )
73
+ println (" [$testDescriptor .classDisplayName] [$testDescriptor .displayName]: $result .resultType, length - ${(result.endTime - result.startTime) / 1000.0 } sec" )
74
+ if (result.resultType == TestResult .ResultType .FAILURE ) {
75
+ println (" ${result.exception?.stackTraceToString()} " )
76
+ }
69
77
}
70
78
71
79
override fun afterSuite (testDescriptor : TestDescriptor , result : TestResult ) {
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ object UtSettings : AbstractSettings(
264
264
*
265
265
* False by default (for saving disk space).
266
266
*/
267
- var logConcreteExecutionErrors by getBooleanProperty(false )
267
+ var logConcreteExecutionErrors by getBooleanProperty(true )
268
268
269
269
/* *
270
270
* Number of branch instructions using for clustering executions in the test minimization phase.
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ internal object HandlerClassesLoader : URLClassLoader(emptyArray()) {
58
58
* Command-line option to disable the sandbox
59
59
*/
60
60
const val DISABLE_SANDBOX_OPTION = " --disable-sandbox"
61
- private val defaultLogLevel = LogLevel .Info
61
+ private val defaultLogLevel = LogLevel .Debug
62
62
private val logger = getLogger(" ChildProcess" )
63
63
private val messageFromMainTimeout: Duration = 120 .seconds
64
64
You can’t perform that action at this time.
0 commit comments