Advanced BDD Testing Framework based on Cucumber and Puppeteer
Built on Cucumber with comprehensive step definitions for behavior-driven development testing.
Powerful browser automation using Puppeteer with advanced element interaction capabilities.
Complete mobile app testing support with Appium integration for iOS and Android.
RESTful API testing with comprehensive validation and authentication support.
Built-in accessibility testing with Pa11y integration and automated reporting.
Google Lighthouse integration for automated performance testing and optimization.
BackstopJS integration for visual regression testing and screenshot comparison.
Flexible configuration system supporting multiple environments and testing scenarios.
Complete project template with pre-configured setup, examples, and best practices.
Use Template RepositoryAdd Cuppet Core to your existing project as a dependency.
yarn add @cuppet/core
The Cuppet Template Repository provides a complete project structure with:
# Clone or use as template from GitHub
git clone https://github.com/MiroslavRusev/cuppet.git my-test-project
cd my-test-project
yarn install
# Run example tests
yarn test exampleAll dev features/tests
yarn add @cuppet/core @cucumber/cucumber config
// cucumber.js
module.exports = {
default: {
requireModule: ['@cuppet/core'],
require: [
'node_modules/@cuppet/core/features/app/stepDefinitions/*.js',
'features/step-definitions/**/*.js',
],
format: ['progress', 'json:reports/cucumber-report.json'],
formatOptions: {
snippetInterface: 'async-await'
}
},
};
Feature: Example Test
Scenario: Visit a page and check content
Given I go to "/"
Then I should see "Welcome"
When I click on the element "button"
Then I should see "Success"