-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
package com.intuit.karate; | ||
|
||
import org.junit.jupiter.api.Test; | ||
import org.slf4j.LoggerFactory; | ||
|
||
/** | ||
* | ||
* @author pthomas3 | ||
*/ | ||
class MainRunner { | ||
|
||
private static final org.slf4j.Logger logger = LoggerFactory.getLogger(MainRunner.class); | ||
|
||
@Test | ||
void testCli() { | ||
Main.main(new String[]{"-S"}); | ||
} | ||
|
||
@Test | ||
void testDebug() { | ||
String temp = "--threads=1 /Users/peter/dev/zcode/karate-todo/src/test/java/app/api/match/test.feature"; | ||
Main main = Main.parseKarateOptionsAndQuotePath(temp); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ivangsa
Contributor
|
||
} | ||
|
||
} |
@ivangsa I'm blocked here because I'm implementing debug support for intellij and this is not working
refer changes here: https://github.com/karatelabs/karate/pull/1404/files#r546182298
now I feel accepting that PR was a bad idea and I don't understand the logic at all. heads up, we might be re-writing a bunch of this CLI code