I run multiple test suites in a single pybot command like this,
pybot suite1.robot suite2.robot suite3.robot
Now, each one of these robot suites add one key,value into a global dictionary (this test variable contains some metrics that needs to be returned to the test-invoker) as,
{ "suite1-res" : xxxx,
"suite2-res" : yyyy,
"suite3-res" : zzzz }
Now, this dictionary needs to be posted to a kafka/any messaging broker. I like this functionality to be written in a post-run hook function/robot case that will be ran only once at the end of all robot cases.
Can this post-run hook functionality be added as a runtime parameter (like suite teardown
) instead of passing it as an extra robot test case argument.