I’m actually working on a testrail plugin for one of our projects right now. I setup the test titles to include the Case ID and suite Id which I grab using regex inside the events. After all the tests are finished, I call the testrail api and add a test run using testrail-api