How to Integrate TestRail with Pytest?
Pytest is one of the famous test automation framework which comes inbuilt with python. You can use this framework to automate API and Functional testing of desktop and web applications.
What is TestRail?
TestRail is a Test Management tool. In this tool you can create Test Plans, Test Runs, Test Cases and customize fields of test cases as per your project need. This tools is used at all levels of testing from Project Manager to Software Testing Engineer.
Why Integration is Needed
When we run automated tests of Smoke or Regression test cases, we have to update the results of each test case in the Test Management tool. In Test Management tools we can generate metrics based on results of each test case result and present to Test Leaders for analysis.
TestRail provides API for integration, you can refer documentation on this link \
Let’s assume we have 100 Test Cases which are required to run under Smoke/Regression Test. The below steps need to be performed including Authentication, Creation of Test Run (New Test Case ID created for test cases included in Test Run), Update test cases inside test run based on results by automation scripts.
- Industry
- Art
- Causes
- Crafts
- Dance
- Drinks
- Film
- Fitness
- Food
- Games
- Gardening
- Health
- Home
- Literature
- Music
- Networking
- Other
- Party
- Religion
- Shopping
- Sports
- Theater
- Wellness
- News