run a batch / script before each Test step

I'm on windows
I would like to run a batch (cmd, bat, powershell) before the start of each test step
The aim of this batch is to perform custom initialization before the agent start the tests

one solution is to add a "batch" runner before each step test in TC, but i would like to call the custom "pre-step" batch transparently
is it possible to do that with a meta-runner, or perhaps with a plugin ?

thanks
Guillaume

1 comment
Comment actions Permalink

Hi,

In this case you can create a meta-runner, which will consist of two steps: initialization and test. You can find some useful examples here: https://github.com/JetBrains/meta-runner-power-pack.

0

Please sign in to leave a comment.