tremor-runtime
tremor-runtime copied to clipboard
Extend tremor-cli test to use tremor script to evaluate test results
Describe the problem you are trying to solve
The integration testing framework allows for either for a simple "contains" check for any event or full file quality for all events.
It would be really nice to have the ability to run integration tests and use a tremor script for evaluating success/failure.
Describe the solution you'd like
For tests have the option to use script: <script file> that will run a script over the results. We can use state to keep track of data.
Notes
It would be nice to investigate further if other testing options would benefit, it would also be nice to investigate if inlining the script would make sense in (some) cases