Thread
#kotless
    LeoColman

    LeoColman

    1 year ago
    Hey guys! How are you testing the Kotless endpoints? How do I start the local server in an unit test (is that even possible?)
    TanVD

    TanVD

    1 year ago
    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 🙂