Important
If you like this project, please consider giving it a star on GitHub or leaving a review on the Visual Studio Code Marketplace.
Seamlessly integrate TestRail into your VS Code workflow. View, edit, and manage test cases without leaving your IDE.
This is an open-source alternative to the Paid extension by Railflow.

- 🚀 Quick Access - One-click access to TestRail from VS Code
- 🌳 Tree View Integration - Browse TestRail projects, suites, sections, and test cases in VS Code's sidebar
- 📋 Test Case Management
- View test case details with full markdown support
- Create new test cases
- Edit existing test cases
- Delete test cases
- Duplicate test cases
- 📁 Suite Management
- Create new test suites
- Edit existing suites
- Delete suites
- 📂 Section Management
- Create new sections
- Edit existing sections
- Delete sections
- 🏃 Test Run Management
- Create new test runs
- Edit existing runs
- Close runs
- Delete runs
- 📊 Test Result Management
- Add test results
- View test results history
- 🔄 Drag and Drop Support - Easily reorganize test cases and sections
- Open VS Code
- Press
Ctrl+P
/Cmd+P
- Type
ext install testrail-vscode
- Click the TestRail icon in the activity bar
- Click "Login" and enter your credentials:
Host URL: https://example.testrail.io or https://example.tmxtestrail.com Email: [email protected] API Key: Generate from TestRail > My Settings > API Keys
- (optional) Specify the project you want to use. (If you only use a specific project, select the project. otherwise, sidebar will show all projects)
-
Clone the repository
git clone https://github.com/kiwamizamurai/vscode-testrail.git cd vscode-testrail
-
Install dependencies
npm install
-
Open in VS Code and press
F5
to start debugging
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.