Hey guys! How are you testing the Kotless endpoint...
# kotless
l
Hey guys! How are you testing the Kotless endpoints? How do I start the local server in an unit test (is that even possible?)
t
You can use
LambdaHandler
that is located at
io.kotless.dsl.LambdaHandler
and pass there JSONs with requests.
There is also
kotless-lang-local
library (that is used to locally start server) that wraps Kotless DSL with jetty. You may also use it 🙂