story_d 0.9.0-beta.1
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 (wrapsgroup())- 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
- role-feature-benefit :
scenario()function to define test scenarios (wrapstest())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:testfor VSCode test tree discovery - Full support for
setUp()andtearDown()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