Testuff API Developers
Welcome, developer! Here you can quickly integrate Testuff with your custom tools, dashboards, and automation frameworks.
API Documentation
Explore the powerful Testuff Python SDK, providing a comprehensive client wrapper for seamless API integration. Access the full API documentation for all endpoints, schemas, and advanced usage on the Testuff Full API Docs page.
If you encounter any issues or have feature requests for the SDK, please report them on GitHub.
Check out the Python SDK on GitHub to get started quickly.
Use Cases
- Sync with GitHub: Send defects or test results from Testuff to GitHub Issues. How-to
- Automated Dashboards: Create live CI/CD dashboards by fetching run and coverage data using API.
- External Tools: Submit results from frameworks like PyTest, Selenium, Jenkins.
See Automation Example.
Authentication & Endpoints
- HTTP Basic Auth: Every request uses your Testuff email and password.
- API Base URL:
https://serviceX.testuff.com/api/v0/(replace X with your company’s number) - SSL/HTTPS: All traffic is encrypted.
- Response Format: Default is JSON; set
format=xmlorformat=yamlas needed.
Code Examples
Python
import requests
BASE_URL = "https://serviceX.testuff.com/api/v0"
AUTH = ("your@email.com", "your_password")
resp = requests.get(f"{BASE_URL}/projects", auth=AUTH)
print(resp.json())
JavaScript (Node.js)
const axios = require('axios');
const BASE_URL = 'https://serviceX.testuff.com/api/v0';
const auth = { username: 'your@email.com', password: 'your_password' };
axios.get(`${BASE_URL}/projects`, { auth })
.then(res => console.log(res.data));
cURL
curl -u 'your@email.com:your_password' \
'https://serviceX.testuff.com/api/v0/projects'
Additional Resources
For help with scripting or advanced integration, see official docs or open an issue on GitHub.