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
- ⌨️ Unified Command Shortcuts
[c]- Create new item[e]- Edit existing item[d]- Delete item[x]- Duplicate/Close item[v]- View details
- 📋 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
- Manage test statuses for runs
- 🔄 Drag and Drop Support - Easily reorganize test cases and sections
- 💬 Feedback System - Submit bug reports and feature requests directly from the extension
- 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: your.email@example.com 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
F5to 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.