story_d 0.9.0-beta.1 copy "story_d: ^0.9.0-beta.1" to clipboard
story_d: ^0.9.0-beta.1 copied to clipboard

A BDD testing framework for Dart, implemented as a fluent DSL.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.9.0-beta.1 - 2026-06-11 #

Added #

  • Initial release of StoryD BDD framework for Dart
  • story() function to define BDD stories (wraps group())
  • A variety of user story template elements to capture expressive feature descriptions suited to different software development methodologies.
    • role-feature-benefit : AsA IWant SoThat
    • benefit-role-action : InOrderTo AsA ICan
    • persona-action-benefit : AsA IWant InOrderTo
    • situation-motivation-outcome : When IWant SoThat
    • feature-benefit-role : IWant SoThat AsA
  • scenario() function to define test scenarios (wraps test())
  • given(), when(), then(), and() step functions with fluent syntax
  • State machine for managing test state across steps
  • Basic support for synchronous and asynchronous step execution
  • Automatic integration with package:test for VSCode test tree discovery
  • Full support for setUp() and tearDown() lifecycle hooks
  • Standard Dart tests validating framework functionality
  • StoryD tests validating framework through it's own API

Notes #

  • Framework integrates transparently with Dart's standard test system
  • Tests discoverable in VSCode's test explorer
0
likes
160
points
96
downloads

Documentation

API reference

Publisher

verified publisherperridak.software

Weekly Downloads

A BDD testing framework for Dart, implemented as a fluent DSL.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

meta, path, perridak_strings, test

More

Packages that depend on story_d