The idea is to create a test case that picks up the sample scripts from the examples/ folder and embed them into the test run.
An ideal solution would just make sure that the files are executable against an integration container of thehive just like the integration tests.
The real challenge is to collect the example scripts, preprocess them and run them in the test suite.
If it's doable we would be sure that the examples in the docs always up to date and working as expected.
The idea is to create a test case that picks up the sample scripts from the examples/ folder and embed them into the test run.
An ideal solution would just make sure that the files are executable against an integration container of thehive just like the integration tests.
The real challenge is to collect the example scripts, preprocess them and run them in the test suite.
If it's doable we would be sure that the examples in the docs always up to date and working as expected.