Bug.Hunter.mp4
BugHunter is a comprehensive system designed to generate websites with intentional bugs and test them using a QA agent. The QA Agent provides comprehensive and detailed reports on the functionality of various web components and suggests fixes based on best practices.
- Buggy Website Generator
- QA Agent: Buttons, Forms, Links, Tabs, Compatibility and Accessibility Testing
- Bug Fix Suggestions
- Interactive and dynamic Interface
- Functionality: Generates buggy code snippets given selected bugs templates.
- Templates: Uses OpenAI for templates with bugs, and embeds it into a given HTML website.
- Independence: Seperated from the QA Agent.
- Testing Scope: Supports testing on generated HTML or user-provided URLs.
- Results: Provides component-specific results.
- Tools Used: Selenium, W3C (The World Wide Web Consortium) Validator class for basic Standards and Protocols for web development, and BeautifulSoup for testing.
- Form: Tests input elements and submit button functionality.
- Button: Tests functionality, visibility, and interactivity.
- URL: Tests functionality and interactivity of selects and tabs.
- W3C testing - Accessibility and compatibility:
- Tests the markup validity of web documents according to the W3C (World Wide Web Consortium) standards, ensuring accessibility and compatibility across different browsers and devices.
- Fix Suggestions: Suggest fixes based on best practices given a buggy code snippet using OpenAI query.
- Integration: Uses Fast API for QA agent and website generator integration, in a next.js website.
- Framework: Built with Next.js.
- Dynamic Interface: Displays test results for elements.
- File Uploads: Test HTML files not generated by the system.
- Buggy HTML Code Generation: Generates buggy website given buggy code snippets and a website template. Embeds the buggy code snippets into the template.
- Clone the Repository:
git clone https://github.com/ShaharHahami/QA_Websites.git
- Install Dependencies:
cd system npm install axios
- Start The Server (FastAPI):
uvicorn main:app --reload
- Start the BugHunter Website:
npm run dev
- Generate a Buggy Website: Use the Buggy Website Generator to create a website with selected bugs.
- Upload or Provide URL for Testing: Use the QA Agent to test the generated HTML or any user-provided URL.
- View Results: Check the dynamic website for detailed test results and suggested fixes.
- Bug Fix Suggestions: Implementation of an automated bug fix suggestion feature using OpenAI query.
This project is licensed under the MIT License.