
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
test-project-generator
Advanced tools
Interactive CLI tool for generating test automation projects with different languages and frameworks
Interactive CLI tool for generating test automation projects with different programming languages and frameworks.
npm install -g test-project-generator
testgen
git clone https://github.com/erdncyz/testgen.git
cd testgen
npm install
npm link
testgen
# Clone the repository
git clone https://github.com/erdncyz/testgen.git
cd testgen
# Install dependencies
npm install
# Install globally
npm link
# Run the generator
testgen
# Follow the interactive prompts:
# 1. Select programming language
# 2. Select test framework
# 3. Choose BDD support (Cucumber)
# 4. Enter project name and path
# Navigate to your new project
cd your-project-name
# Install dependencies (language-specific)
# For Java: mvn clean install
# For Python: pip install -r requirements.txt
# For Ruby: bundle install
# For TypeScript: npm install
# Run tests
# For Java: mvn test
# For Python: pytest
# For Ruby: rspec
# For TypeScript: npm test
git clone https://github.com/erdncyz/testgen.git
cd testgen
npm install
# Run the generator
npm start
# or
node index.js
The generator will guide you through these steps:
? Which programming language would you like to use?
❯ Java
Python
Ruby
TypeScript
? Which test framework would you like to use?
❯ Selenium WebDriver
Appium (Mobile Testing)
Playwright
? Do you want to use Cucumber for BDD (Behavior Driven Development)?
❯ Yes
No
? What is your project name?
> my-awesome-tests
? Where should the project be created?
> /Users/username/projects
my-awesome-tests/
├── src/
│ ├── main/java/
│ └── test/java/
│ └── SampleTest.java
├── src/test/resources/features/
│ └── sample.feature
├── pom.xml
└── README.md
my-awesome-tests/
├── src/
├── tests/
│ └── test_sample.py
├── features/
│ ├── sample.feature
│ └── steps/
│ └── sample_steps.py
├── requirements.txt
└── README.md
my-awesome-tests/
├── lib/
├── spec/
│ └── sample_spec.rb
├── features/
│ ├── sample.feature
│ └── steps/
│ └── sample_steps.rb
├── Gemfile
└── README.md
my-awesome-tests/
├── src/
├── tests/
│ └── sample.test.ts
├── features/
│ ├── sample.feature
│ └── steps/
│ └── sample_steps.ts
├── package.json
├── tsconfig.json
└── README.md
When you choose Cucumber support, the generator will:
Feature: Sample Feature
As a user
I want to test the application
So that I can ensure it works correctly
Scenario: Login to the application
Given I am on the homepage
When I click on the login button
Then I should see the login page
The generator automatically installs the latest stable versions:
testgen
# Selections:
# - Language: Java
# - Framework: Selenium WebDriver
# - Cucumber: Yes
# - Project Name: java-selenium-bdd
# - Path: /Users/username/projects
testgen
# Selections:
# - Language: Python
# - Framework: Playwright
# - Cucumber: No
# - Project Name: python-playwright-tests
# - Path: /Users/username/projects
testgen
# Selections:
# - Language: TypeScript
# - Framework: Appium (Mobile Testing)
# - Cucumber: Yes
# - Project Name: mobile-app-tests
# - Path: /Users/username/projects
cd java-selenium-bdd
mvn clean test
cd python-playwright-tests
pip install -r requirements.txt
pytest
cd ruby-appium-tests
bundle install
rspec
cd mobile-app-tests
npm install
npm test
The generator creates optimized configurations for each combination:
Each generated project includes:
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any issues or have questions:
Happy Testing! 🧪✨
Made with ❤️ by erdncyz
FAQs
Interactive CLI tool for generating test automation projects with different languages and frameworks
The npm package test-project-generator receives a total of 0 weekly downloads. As such, test-project-generator popularity was classified as not popular.
We found that test-project-generator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.