PackageTrack
Sign in Get early access

bdd_flutter

A Flutter package for Behavior-Driven Development (BDD) testing.

1.1.1 samderlust/bdd_flutter

What this package is like to depend on

Last release 4 months ago

01 Apr 2026

Release timing varies

gaps range from 4 weeks to 11 months

Nearly every release is documented

notes for 11 of 11 stable releases

Nothing withdrawn

no release was ever pulled

1 years old

11 releases · first in 2025

3 releases in the last 12 months

see the full history below

Release timeline

11 releases · Apr 2025 to Apr 2026
2026
Release Pre-release

Releases

latest 11
  1. 1.1.1 01 Apr 2026
    Release notes

    Features

    • dart run bdd_flutter test now runs all test files (BDD and regular), not just .bdd_test.dart
    • Separate report sections: BDD Test Report (grouped by Feature/Scenario) and Non-BDD Test Report (grouped by test file and group name with indentation)
    • Combined summary at the bottom with total pass/fail counts

    Tests

    • Add integration tests for BDDController incremental build (rename, remove, modify, delete, force, append scenarios)
    Open source →
  2. 1.1.0 01 Apr 2026
    Release notes

    Bug Fixes

    • Fix class name generation for names starting with digits (e.g., "123 login"X123LoginScenario)
    • Fix class name generation for names with special characters (hyphens, punctuation now stripped)
    • Fix method name generation for steps starting with digits (leading digits stripped)
    • Fix snakeCaseToCamelCase crash on leading/trailing underscores
    • Return safe fallback names (Unnamed, unnamed, step) instead of empty strings for edge cases
    • Fix Background class name not sanitized — feature names with spaces/hyphens (e.g., "Form auto-save") produced invalid Dart class names
    • Fix incremental build skipping regeneration when generated files are deleted but manifest entry still exists
    • Fix incremental build appending instead of regenerating when scenarios are removed, renamed, or modified — caused broken test files referencing non-existent classes

    Tests

    • Add comprehensive unit tests for StringX extensions (PascalCase, snakeCaseToCamelCase, toSnakeCase)
    • Add unit tests for Step.methodName edge cases (digits, special chars, empty text, params)
    • Add unit tests for Scenario class name generation, decorator resolution, and hash consistency
    • Add unit tests for Decorator parsing and set helpers
    Open source →
  3. 1.0.0 01 Apr 2026
    Release notes

    BREAKING CHANGES

    • Removed build_runner dependency entirely — use dart run bdd_flutter build instead
    • Removed --no-widget-test and --new-only CLI flags
    • Configuration moved from build.yaml to .bdd_flutter/config.yaml
    • Generated file extensions changed from .bdd_scenarios.g.dart to .bdd_scenarios.dart and .bdd_test.g.dart to .bdd_test.dart

    Features

    • New standalone CLI: dart run bdd_flutter build and dart run bdd_flutter test
    • Incremental test generation with manifest tracking (only regenerates changed scenarios)
    • --force flag to regenerate all files
    • test command with formatted Feature/Scenario report output
    • Custom test directory via test_dir config option
    • Custom scenario class suffix via scenario_suffix config option (e.g., Steps instead of Scenario)
    • Additional imports support via additional_imports config option
    • Background steps support
    • @unitTest / @widgetTest decorators at feature and scenario level
    • Scenario-level Examples tables for parameterized tests

    Improvements

    • Clean Architecture restructure (domain, infrastructure, presentation layers)
    • Instance-based scenario classes (supports late fields for shared state)
    • Comprehensive documentation across all layers
    Open source →
  4. 0.2.0 04 May 2025
    Release notes
    • change output files extension to .bdd_scenarios.g.dart and .bdd_test.g.dart
    • add ignore_features option to build.yaml
    • fix example
    • fix import file name
    • update readme
    Open source →
  5. 0.1.5 08 Apr 2025
    Release notes
    • fix import file name
    Open source →
  6. 0.1.4 07 Apr 2025
    Release notes
    • fix builder with examples
    • add ignore decorator on feature
    Open source →
  7. 0.1.3 07 Apr 2025
    Release notes
    • fix builder issue with examples
    • restructure code
    Open source →
  8. 0.1.2 06 Apr 2025
    Release notes
    • add @disableReporter and @enableReporter decorators
    • fix build_runner error
    • improve documentation
    • change log to stdout
    • update readme
    Open source →
  9. 0.1.1 06 Apr 2025
    Release notes
    • add @className decorator
    • fix build_runner error
    Open source →
  10. 0.1.0 05 Apr 2025
    Release notes
    • refactor to use factory pattern
    • improve code readability
    • improve documentation
    Open source →
  11. 0.0.1 05 Apr 2025
    Release notes
    • Initial release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive