Subscribe Join 180,000+ subscribers and receive articles from our blog about software quality, testing, QA and security. Subscribe

How is everyone storing their assertion results into an array?

How is everyone storing their assertion results into an array? I’m using Cucumber so I cant use testng listeners. My solution was creating custom assertions that gather all the data, puts them into an array and sends them to testrail. Was wondering if that would be the best approach?