auto-test-framework
v1.0.0
Published
CLI tool for quickly generating test automation frameworks
Maintainers
Readme
auto-test-framework
A CLI tool to quickly generate complete test automation frameworks based on user preferences.
Features
- Multi-language support (Python, Java, JavaScript, TypeScript)
- Multiple testing frameworks (Selenium, Playwright, Cypress, WebDriverIO, Appium)
- BDD and standard test styles
- Various reporting options
- Automatic dependency installation
- Sample test cases included
Installation
npm install -g auto-test-frameworkUsage
npx auto-test-frameworkFollow the interactive prompts to select your preferred language, framework, and other options.
Options
-d, --directory <path>: Specify a target directory (default: current directory)-s, --skip-install: Skip dependency installation-v, --version: Display version information-h, --help: Display help information
Supported Frameworks
- Python: Selenium + Pytest, Selenium + Behave, Playwright, Appium
- Java: Selenium + TestNG, Selenium + JUnit, Selenium + Cucumber, Appium
- JavaScript: Cypress, WebDriverIO, Playwright, Selenium + Mocha
- TypeScript: Playwright, Cypress, WebDriverIO, Selenium + Jest
Project Structure
Each generated project includes:
- Test files with sample tests
- Page Object Model structure (when applicable)
- Configuration files
- Reporting setup
- README with usage instructions
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
