We write tests like these in Groovy or Python. Since the execution time of Python and Groovy is highly platform dependent, you should be able to execute commands for all three operating systems. For each platform, you may need to change several parameters, but you can perform an OS check and install them at the beginning of the script. There are frameworks that simplify tests, such as JUnit and Spock for Groovy and Robot for Python, but they simply abstract the usual framework. I would just start. It is agile to try the simplest thing that could work.
, . . , (, ), Smoke () () .