I’m currently building scripts to use the API to call/report our QA automation tests. So far I was successful, except for one part - automating the process in reporting the test results.
Recently, I’m blocked in figuring out a solution to scan both Gherkin style scenarios and RSpec steps, match it with their Test Case ID, and send the report to the server. What is the best design approach to achieve this for both Cucumber/Capybara and RSpec test runs? Also, is having the tests saved as Test Cases or under Test Suites make a difference when using the API to call them?
The framework we use supports Selenium 3.0.5 with Cucumber/Capybara, RSpec, and Appium for our internal Admin UI portal and mobile applications. The language used is Ruby 2.4.0.
Also, my background is in QA testing and ui automation; so my programing knowledge is intermediate with Ruby and limited to this field using black-box testing.
Any help or guidance is appreciated, thanks.