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.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add story_d

With Flutter:

 $ flutter pub add story_d

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  story_d: ^0.9.0-beta.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:story_d/api.dart';
import 'package:story_d/core/core_api.dart';
import 'package:story_d/core/model/narrative.dart';
import 'package:story_d/core/model/scenario_data.dart';
import 'package:story_d/core/model/step_data.dart';
import 'package:story_d/core/model/step_input.dart';
import 'package:story_d/core/model/step_result.dart';
import 'package:story_d/core/runtime/story_runner.dart';
import 'package:story_d/fluent/core/common_steps.dart';
import 'package:story_d/fluent/core/scenario_step_registration.dart';
import 'package:story_d/fluent/core/story.dart';
import 'package:story_d/fluent/core/story_builder.dart';
import 'package:story_d/fluent/fluent_api.dart';
import 'package:story_d/fluent/steps/and_scenario_step.dart';
import 'package:story_d/fluent/steps/as_a_step.dart';
import 'package:story_d/fluent/steps/because_step.dart';
import 'package:story_d/fluent/steps/given_scenario_step.dart';
import 'package:story_d/fluent/steps/i_can_step.dart';
import 'package:story_d/fluent/steps/i_want_step.dart';
import 'package:story_d/fluent/steps/in_order_to_step.dart';
import 'package:story_d/fluent/steps/scenario_step.dart';
import 'package:story_d/fluent/steps/so_that_step.dart';
import 'package:story_d/fluent/steps/then_scenario_step.dart';
import 'package:story_d/fluent/steps/when_scenario_step.dart';
import 'package:story_d/fluent/steps/when_step.dart';
0
likes
160
points
97
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