This is a summary of the tests after it runs:
1 feature passed, 0 failed, 0 skipped
1 scenario passed, 0 failed, 0 skipped
3 steps passed, 0 failed, 0 skipped, 0 undefined
I want to be able to print it into a file or have access to it from the modules. The behave documentations doesn't have an argument that makes the summary print into a a different output.
In the script or somewhere you trigger you test, why not simply do a
behave -o out_file > file_to_save_summary