FLUTTER ECOSYSTEM

flutter_gherkin

A Gherkin / Cucumber parser and test runner for Dart and Flutter

Latest version
2.0.0
30-day downloads
6.5K
Likes
135
Pub points
140

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

flutter_gherkin is a Gherkin and Cucumber-compatible parser and test runner designed for Dart and Flutter applications. It enables behavior-driven development (BDD) by allowing developers to write tests in plain language using Gherkin syntax, making them accessible to non-technical stakeholders. The package integrates seamlessly with Flutter’s testing ecosystem and supports multiple platforms including Android, iOS, macOS, Windows, and Linux. It provides structured test execution, step definitions, and hooks for setup and teardown, enhancing test readability and maintainability.

Use cases
  • Writing BDD-style acceptance tests
  • Collaborating with non-technical team members
  • Automating UI testing with readable scenarios
  • Integrating with CI/CD pipelines
  • Testing cross-platform Flutter apps
Key features
  • Gherkin syntax support
  • Step definition matching
  • Test hooks for setup and cleanup
  • Cross-platform compatibility
  • Integration with Flutter's test framework
Suitable for
  • Teams practicing BDD
  • QA engineers working with business analysts
  • Developers needing readable test cases
  • Projects requiring automated UI validation
  • Cross-platform Flutter applications
Considerations
  • Requires understanding of Gherkin syntax
  • Additional setup for step definitions
  • May increase test suite complexity for simple cases
  • Best suited for larger or collaborative projects
  • Limited built-in reporting compared to full Cucumber ecosystems
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add flutter_gherkin

Categories

Dependencies

Dependency list 2 items

Source repository

Related projects

No data available yet.