Experience the magic of TestSprite MCP Server with your first automated test in under 10 minutes.
By the end of this guide, you’ll have run your first automated test suite, seen AI generate comprehensive test plans, watched tests execute in the cloud, received detailed test reports, and applied automatic bug fixes.
Start Your Application - Make sure your application is running locally:
Example
Copy
# For frontend applications (examples)npm run dev # Usually runs on port 3000, 5173, or 8080# For backend applications (examples)node index.js # Usually runs on port 8000, 3001, or 4000
The Testing Configuration page will open in your browser. Complete the setup here to continue your test.
When the bootstrap tool opens, you must configure:
Testing Type
Mode
Scope
Frontend: Select this if you want to test your UI and user flows (e.g. buttons, forms, navigation).
Backend: Select this if you want to test your APIs, services, or server logic.
Codebase: Runs tests against the entire project. Use this if you want a full test sweep or haven’t run MCP before.
Code Diff: Runs tests only against your recent changes (uncommitted Git changes). Use this to quickly validate new work without testing everything again.
Test Account Credentials - If your app requires login:
Your AI assistant will automatically handle the entire testing process by running through these steps. It takes care of everything from understanding your project to running the actual tests, so you don’t have to do any of the work manually.Learn more about details steps at Testing Workflow.
After testing, you’ll find these files in your project:
Expandable After Testing Project Structure Example
Copy
testsprite_tests/├── tmp/│ ├── prd_files/ # Uploaded PRD files│ ├── config.json # Test configuration│ ├── code_summary.json # Code analysis│ ├── report_prompt.json # AI analysis data│ └── test_results.json # Detailed test results├── standard_prd.json # Normalized PRD├── TestSprite_MCP_Test_Report.md # Human-readable report├── TestSprite_MCP_Test_Report.html # HTML report├── TC001_Login_Success_with_Valid_Credentials.py├── TC002_Login_Failure_with_Invalid_Credentials.py└── ... # Additional test files
Understanding Test Results - The test report shows overall coverage, pass rate, failed tests with detailed failure analysis, and categories (Functional, UI/UX, Security, Performance).
Request Fixes - After reviewing the test results, simply ask:
Copy
Please fix the codebase based on TestSprite testing results.
The AI will analyze failing tests, identify problematic code sections, apply targeted fixes automatically, re-run tests to verify fixes, and iterate until issues are resolved.