Skip to content

Commit 6d977d4

Browse files
committed
[no ci] investigate debug server launching
1 parent 7193815 commit 6d977d4

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,25 @@
11
package com.intuit.karate;
22

33
import org.junit.jupiter.api.Test;
4+
import org.slf4j.LoggerFactory;
45

56
/**
67
*
78
* @author pthomas3
89
*/
910
class MainRunner {
1011

12+
private static final org.slf4j.Logger logger = LoggerFactory.getLogger(MainRunner.class);
13+
1114
@Test
1215
void testCli() {
1316
Main.main(new String[]{"-S"});
1417
}
1518

19+
@Test
20+
void testDebug() {
21+
String temp = "--threads=1 /Users/peter/dev/zcode/karate-todo/src/test/java/app/api/match/test.feature";
22+
Main main = Main.parseKarateOptionsAndQuotePath(temp);
23+
}
24+
1625
}

karate-core/src/test/java/logback-test.xml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
</appender>
1616

1717
<logger name="com.intuit" level="DEBUG"/>
18+
<logger name="com.intuit.karate.debug" level="TRACE"/>
1819

1920
<root level="warn">
2021
<appender-ref ref="STDOUT" />

0 commit comments

Comments
 (0)