TLE-Case-Generator is a Chrome extension designed to generate randomized and valid test cases for competitive programming problems. It helps developers and students quickly create test cases based on variable constraints such as type, size, range, and uniqueness, helping to overcome TLE (Time Limit Exceeded) issues during algorithm testing.
- β Add multiple variables with types: number, string, boolean, array.
- β Define constraints (range, size, repetition, character set, etc.).
- β One-click Generate button to instantly create randomized test cases.
- β Copy-to-clipboard for individual variables.
- β Simple, lightweight popup UI built with Tailwind CSS.
- β Designed to help users quickly test solutions against edge cases.
- Frontend: HTML, CSS, JavaScript, Tailwind CSS
- Platform: Chrome Extension (Manifest V3)
- Other: DOM Manipulation, Clipboard API
- Clone or Download this repository.
- Open
chrome://extensions/in Chrome. - Enable Developer Mode (toggle in the top-right corner).
- Click Load Unpacked and select the project folder.
- The extension icon will appear in your Chrome toolbar.
- Open the extension popup from the toolbar.
- Add variables and define their constraints.
- Click Generate to create randomized test cases.
- Copy individual variable values using the Copy button.
- Use generated test cases in your preferred coding platform or IDE.
(Coming soon)