Open Source Friday with Cluecumber - Turning Cucumber Tests into Clean Reports

GitHubAbout 5 min readJul 13, 2025Watch original
THE SUMMARYAI-generated

Key Concepts

  • GitHub Universe: An annual GitHub conference.
  • GitHub MCP Server: A tool to configure access to GitHub repositories.
  • Copilot: An AI pair programmer.
  • Open Source Friday: A show about open-source projects and their maintainers.
  • Cucumber: A library for JVM and Maven that generates test reports from Girkin.
  • Girkin: A plain text format for behavior-driven development (BDD) tests.
  • Karate Framework: An open-source API test automation framework.
  • Test Reporting: The process of generating reports that summarize the results of tests.
  • BDD (Behavior Driven Development): A software development process based on writing tests from a user's perspective.

GitHub Universe: A Developer Conference

  • GitHub Universe is described as the "biggest universe yet," almost three times larger than previous events.
  • The conference is considered an "enriching" experience and a "nerd Super Bowl."
  • It offers a holistic experience with demos, booths, games, and opportunities to connect with other developers.
  • The keynote focused on the developer experience.
  • Attendees can see the people working on mainstream tools and view demos.
  • GitHub is perceived as caring about and understanding developers, recognizing the diversity within the developer community.

GitHub MCP Server and Copilot Demonstration

  • The GitHub MCP server allows configuring access to GitHub with a few lines of JSON.
  • Authentication is handled similarly to other GitHub apps.
  • Copilot is used with the MCP server to create, triage, and implement issues.
  • A series of issues are created by listing bullet points and asking Copilot to expand upon them, including adding checklists.
  • Copilot prompts for confirmation before creating issues on the specified repository.
  • Copilot can search for issues related to specific topics (e.g., filtering and search).
  • Copilot can prioritize issues based on value to the user and ease of implementation.
  • Copilot can implement code for specific issues, create branches, generate commit messages, and create pull requests.
  • The MCP server allows accessing assets on repositories from the editor.
  • The demonstration highlights how these tools can keep developers in the zone and focused on important tasks.

Open Source Friday: Interview with Benjamin Bischoff from Cucumber

  • Benjamin Bischoff, an automation engineer at Tvago with 25 years of IT experience, discusses Cucumber.
  • Cucumber generates test reports from Girkin or JSON files written by Cucumber or the Karate framework.
  • The initial idea came from a hackathon project in 2017 to create a reporting library that provides quick feedback on test results.
  • The goal was to show what failed, what passed, and why, with all relevant information (videos, logs) in one place.
  • Tvago supports open source and encouraged the project's development.

Cucumber in Action: Features and Functionality

  • Cucumber comes in two flavors: Clucumber Maven (for generating reports in Maven/Gradle lifecycles) and Cucumber Core (for use in Java/Kotlin code).
  • It can be used via the command line or in GitHub Actions.
  • The core functionality requires specifying the directory with JSON files and the output location for the report.
  • The report provides essential information about the test suite, including diagrams showing test results (passed, failed, skipped), start/end times, and duration.
  • Failed scenarios display the first lines of failure messages for quick identification of issues.
  • Users can drill down into scenarios to see test steps, data tables, and full exception messages.
  • Clicking on tags or features shows all scenarios with the same tag or within the same feature.
  • The "Previous Runs" button groups similar scenarios run multiple times, showing previous failures and the final result.
  • Scenario sequence shows the order in which scenarios ran.
  • Tag overview shows the results for each tag, allowing users to drill down into specific scenarios.
  • Steps overview shows all test steps and their execution times, helping identify optimization opportunities.
  • Attachments such as screenshots and video references can be included in the reports.
  • Customization options include setting the logo, colors, and attaching custom CSS files.

Integration and Scalability

  • Cucumber integrates well with CI/CD tools like GitHub Actions, Jenkins, and Google Cloud Run.
  • It is used in GitHub Actions, often through make files.
  • The reports are stored for a specific period to track history and identify when failures started.
  • Cucumber is suitable for large test suites, including enterprise-level suites with gigabytes of JSON files.
  • Caching mechanisms are used to handle large test suites.
  • Large attachments are stripped out of the JSON files and saved as separate files, with references kept in the JSON.

Technical Stack and Community Response

  • The tech stack includes Apache FreeMarker for building the reports, Google JSON for parsing JSON files, and JSON fire for processing statistics.
  • The project is Maven-based.
  • The community response has been positive, with feature requests and bug reports contributing to ongoing development.
  • The project has 281 stars on GitHub.
  • Features are often developed based on discussions with the community at conferences.

Future of Test Reporting and AI Integration

  • While AI tools can analyze raw data, test reporting remains valuable for quickly identifying failures and providing a structured overview.
  • Standardized test reports across different projects and teams improve efficiency.
  • Potential future developments include AI functionality within Cucumber.
  • Integration with monitoring tools like Kibana and Grafana, combined with AI, can provide a comprehensive view of system health.

Lessons Learned from Open Source

  • Patience is a key lesson.
  • Communication and clear code are essential.
  • It is rewarding to see a project being used by others.

Favorite Open Source Tool

  • Benjamin's favorite open-source tool is the Karate framework.

What is a Cucumber Test?

  • Cucumber tests are based on Behavior Driven Development (BDD).
  • They use "given, when, then" lines in plain English to describe test scenarios.
  • These sentences are connected to test code.
  • Cucumber provides insights into these tests by generating detailed reports and dashboards.

Synthesis/Conclusion

The video provides a comprehensive overview of GitHub Universe, highlighting its significance as a developer conference. It also features a detailed discussion of Cucumber, an open-source test reporting tool, with its creator, Benjamin Bischoff. The demonstration showcases Cucumber's features, integration capabilities, and scalability. The interview explores the project's history, technical stack, community response, and future direction, including potential AI integration. The video emphasizes the importance of test reporting in software development and the value of open-source collaboration.

AI summaries can miss context or contain errors. Check important details against the original video.

Go a little deeper.

Have a question about this video? Load its transcript to open the video chat.