Inline Script
TesmonLang allows you to include scripts directly within your tests, which can be useful for adding dynamic behavior. This is known as an inline script, and it can be useful for quickly implementing simple or one-off functionality without having to create a separate script file. Inline scripts can make it easier to add custom behavior to your tests and to adapt them to changing requirements or conditions.
Example
scripts:
validateSingleResultIsReturned: assert len(context["last_output"]["rows"]) == 1