10-Minute Demo Video
Watch TestSprite MCP Server in action with this complete workflow demonstration:- Set up TestSprite MCP Server directly inside Cursor.
- See end-to-end testing workflow from start to finish
- Missing product requirements? MCP automatically generates them for you
- Full test plans and test cases created automatically
- Bugs detected, reported, and resolved with no human intervention in one loop
- Achieve 90%+ code accuracy with zero manual prompting
E-commerce Frontend (React + TypeScript + Vite)
Project Overview
Simple locally hosted e-commerce web application with product browsing, user authentication, and admin functionality. Tech StackReact 18

TypeScript

Vite

Material UI

Command Used
Generated Normalized PRD Example
Expandable Sample Normalized PRD
Generated Test Plan Example
Expandable Sample Test Cases
Functional (8 tests)
Core business logic and user workflows
Error Handling (3 tests)
Exception handling and error recovery
Security (3 tests)
Authentication, authorization, access control
UI (2 tests)
User interface interactions and responsive design
Generated Test Code Example
Expandable Sample Test Code
Test Results
Overall Results:- Project: frontend
- Total Tests: 16
- Passed: 10 (62.5%)
- Failed: 6 (37.5%)
Expandable Same Results
Test Report Example
TestSprite automatically generates a comprehensive test report that provides detailed insights about performance and quality.
View Full Sample Test Report
View Full Sample Test Report
TestSprite AI Project Test Report
Document Metadata
- Project Name: frontend
- Version: 0.0.0
- Date: 2025-01-09
- Prepared by: TestSprite AI Team
Requirement Validation Summary
Requirement: User Authentication
- Description: User login functionality with credentials validation and authentication state management.
Test 1
- Test ID: TC001
- Test Name: Login success with valid test credentials
- Test Code: TC001_Login_success_with_valid_test_credentials.py
- Test Error: N/A
- Test Visualization and Result: View Results (dashboard link)
- Status: ✅ Passed
- Severity: Low
- Analysis / Findings: Login functionality correctly authenticates users with valid hardcoded credentials and grants access. Functionality is correct as per requirements. Consider adding tests for edge cases and security enhancements like rate limiting.
Test 2
- Test ID: TC002
- Test Name: Login failure with invalid credentials
- Test Code: TC002_Login_failure_with_invalid_credentials.py
- Test Error: Login with invalid credentials is unsuccessful to verify because the system redirects to the Product Catalog page instead of showing an error message or staying on the login page.
- Test Visualization and Result: View Results (dashboard link)
- Status: ❌ Failed
- Severity: High
- Analysis / Findings: The system incorrectly redirects users to the Product Catalog page upon failed login attempts instead of displaying an error message or staying on the Login page. Fix the login error handling logic to display proper error messages on invalid credentials and prevent unwanted redirects.
Requirement: Route Protection & Access Control
- Description: Ensures authenticated access to protected routes and proper redirects for unauthorized users.
Test 1
- Test ID: TC003
- Test Name: Redirect unauthenticated user from protected routes
- Test Code: TC003_Redirect_unauthenticated_user_from_protected_routes.py
- Test Error: N/A
- Test Visualization and Result: View Results (dashboard link)
- Status: ✅ Passed
- Severity: Low
- Analysis / Findings: Unauthenticated users are properly redirected to the login page when attempting to access protected routes, ensuring access control is enforced. The functionality is working correctly.
… more test results for 13 additional requirements
Coverage & Matching Metrics
- 73% of product requirements tested
- 56% of tests passed
- Key gaps / risks:
73% of product requirements had at least one test generated.
56% of tests passed fully.
Risks: Critical admin functionality failures; login error handling issues; incomplete responsive design testing; API error handling gaps.
Requirement Total Tests ✅ Passed ⚠️ Partial ❌ Failed User Authentication 2 1 0 1 Route Protection & Access Control 2 2 0 0 Product Catalog & Display 2 2 0 0 Purchase & Checkout System 3 3 0 0 Order History Management 1 1 0 0 Admin Product Management 3 0 0 3 Responsive Design & UI 1 0 0 1 Error Handling & API Integration 1 0 0 1 Data Persistence 1 0 0 1
File Structure Generated
Expandable Sample File Structure