Quickstart Guide
Get started with the Makers BTG Tests framework by running your first test. This guide will walk you through the process from prerequisites to viewing your first Serenity report.Prerequisites
Before you begin, ensure you have:Verify Java Installation
Check that Java 21 is installed on your system:You should see output indicating Java 21 (or higher). If not, see the Installation Guide for setup instructions.
Run Your First Test
Execute the test suite using Gradle:The Gradle Wrapper (
./gradlew) automatically downloads the correct Gradle version and manages dependencies.Understanding Your First Test
The framework includes a sample test scenario for report generation from the Chronos web application:GeneracionReporte.feature
- Spanish Gherkin syntax (
#language:es) for business-readable scenarios - Data-driven testing with
Esquema del escenario(Scenario Outline) - Parameterized steps using the Examples table
Expected Output
When you run the tests, you’ll see console output like:Explore the Serenity Report
The generated HTML report includes:- Test Results Dashboard - Overview of passed/failed tests
- Requirements View - Features organized by business requirements
- Test Execution Details - Step-by-step breakdown with screenshots
- Execution Timeline - Visual timeline of test execution
Running Tests with Tags
You can filter tests using tags. The example test uses the@test tag:
Environment-Specific Testing
The framework supports multiple environments. To run tests against a specific environment:serenity.conf):
- QA:
https://qa.btgpactual.com - Staging:
https://stg.btgpactual.com
Next Steps
Now that you’ve run your first test, explore:Installation Guide
Detailed setup instructions for Java, Gradle, and IDE configuration
Writing Tests
Learn how to create new test scenarios and step definitions
Screenplay Pattern
Understand the Screenplay pattern for maintainable test code
Configuration
Configure environments, browsers, and reporting options