Skip to content

Commit c5c18ff

Browse files
committed
added pointer to test tool (relates to #247)
1 parent 5194f49 commit c5c18ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/user_guide.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ gradle test
161161

162162
Note that the Gradlew wrapper is not automatically created by `kscript --idea` so `./gradlew` will not be available. This uses a gradle instance from the PATH instead.
163163

164+
To streamline testing there is also [helper script](https://gist.github.com/elihart/019bd116d3fa0d6214b7396eedc4b206) by [@elihart](https://gist.github.com/elihart) that runs `gradle clean test` on other scripts to easily build and test them (using kscript). This script takes the name of another kts script as an argument, builds that script with gradle, and runs its tests via gradle clean test.
165+
164166
## Text Processing
165167

166168
`kscript` allows to perform `sed`/`awk` text streaming/processing.

0 commit comments

Comments
 (0)