Skip to content

Releases: leynos/rstest-bdd

Fully async

09 Feb 02:17

Choose a tag to compare

What's Changed

  • Scenario outline example column diagnostics with per-outline indexing by @leynos in #412
  • Docs: ADR-005 harness adapters architecture & phase 9 roadmap by @leynos in #415
  • ADR 006: fallible scenario functions and docs updates by @leynos in #417
  • Roadmap: numeric heading restructuring (Phases 1–9) by @leynos in #419
  • Suppress clippy used_underscore_binding for underscore-prefixed params by @leynos in #422
  • Add fallible scenario bodies support and return-kind handling by @leynos in #425
  • Refactor execute_step to propagate errors via ExecutionError by @leynos in #421
  • Implement true async step execution with per-step mode by @leynos in #423
  • Improve panic hook to show error details by @leynos in #426
  • Remove NotCompiled PlaceholderError variant and simplify regex access by @leynos in #429
  • Add stable async step wrapper helpers by @leynos in #431
  • Document cross-scenario state management by @leynos in #430
  • v0.5.0 migration documentation by @leynos in #432

Full Changelog: v0.4.0...v0.5.0

Volkswagens

27 Dec 02:58

Choose a tag to compare

What's Changed

  • Add rstest-bdd-server LSP scaffolding with parameterised tests by @leynos in #336
  • Diagnostics: extend bypassed steps and JSON dumps; CLI wiring by @leynos in #335
  • Make pattern matching on references explicit in step_struct by @leynos in #342
  • Clarify fixture cloning semantics in docs by @leynos in #341
  • Add ADR 001: Async fixtures and tests (Tokio) by @leynos in #338
  • Refactor: introduce helper to prefix Background steps during parsing by @leynos in #339
  • Fix step lookup type by wrapping text in StepText::from by @leynos in #340
  • Implement on-save Gherkin feature indexing with server caching by @leynos in #337
  • Add Rust step indexing and on-save indexing for features and Rust by @leynos in #346
  • Implement in-memory Rust step registry with on-save indexing by @leynos in #348
  • Migrate rstest-bdd to stable toolchain and stable return-kind inference by @leynos in #347
  • Docs: Phase 8 — Async step execution plan and design updates by @leynos in #349
  • Centralize shared StepKeyword in patterns crate by @leynos in #352
  • Implement Rust-to-feature Go-To-Definition navigation handler by @leynos in #360
  • Implement specificity-based step pattern matching and ranking by @leynos in #362
  • Enable underscore-prefixed step parameter matching by @leynos in #355
  • Support borrowed &str parameters in macros by @leynos in #351
  • Introduce implicit fixture injection via metadata-aware step lookup by @leynos in #361
  • Add string type hint to strip quotes by @leynos in #364

Full Changelog: v0.2.0...v0.3.1

When I grow up

25 Dec 00:01

Choose a tag to compare

What's Changed

  • Add rstest-bdd-server LSP scaffolding with parameterised tests by @leynos in #336
  • Diagnostics: extend bypassed steps and JSON dumps; CLI wiring by @leynos in #335
  • Make pattern matching on references explicit in step_struct by @leynos in #342
  • Clarify fixture cloning semantics in docs by @leynos in #341
  • Add ADR 001: Async fixtures and tests (Tokio) by @leynos in #338
  • Refactor: introduce helper to prefix Background steps during parsing by @leynos in #339
  • Fix step lookup type by wrapping text in StepText::from by @leynos in #340
  • Implement on-save Gherkin feature indexing with server caching by @leynos in #337
  • Add Rust step indexing and on-save indexing for features and Rust by @leynos in #346
  • Implement in-memory Rust step registry with on-save indexing by @leynos in #348
  • Migrate rstest-bdd to stable toolchain and stable return-kind inference by @leynos in #347
  • Docs: Phase 8 — Async step execution plan and design updates by @leynos in #349

Full Changelog: v0.2.0...v0.3.0

Skipping and mutable fixtures

08 Dec 00:37

Choose a tag to compare

What's Changed

  • Bump tempfile from 3.22.0 to 3.23.0 by @dependabot[bot] in #226
  • Refine skip! macro with diagnostics, scope tracking, and tests by @leynos in #297
  • Add skipped-outcome assertion macros and skip! helper by @leynos in #298
  • Add edge-case tests for sanitize_ident with param cases by @leynos in #303
  • Enable mutable world access in rstest-bdd steps by @leynos in #304
  • Unify mutable fixture handling via RefCell<Box> with downcast by @leynos in #305
  • Place module doc comments at file start by @leynos in #309
  • Refactor feature/scenario string newtypes using base_newtype by @leynos in #319
  • Fix count_columns overcounting with wrapping pipes in Gherkin tables by @leynos in #316
  • Enforce mandatory path argument in scenario and scenarios macros by @leynos in #318
  • Harmonise Background terminology across docs by @leynos in #315
  • Improve compile-time Examples table validation with detailed row errors by @leynos in #317
  • Enhance scenario index out of range error message by @leynos in #321
  • Include Scenario Outline name in missing Examples error by @leynos in #320
  • Add per-step datatable caching with Arc-backed CachedTable by @leynos in #322
  • Clarify braces restriction and lexer rules for placeholders (docs) by @leynos in #325
  • Fix placement of scenario test documentation comments by @leynos in #327
  • Fix non-greedy type-hint documentation for regex patterns by @leynos in #328
  • Mark scenarios! macro doctest as ignored by @leynos in #329
  • Document and test mutable world bindings with macros (feature-gated) by @leynos in #326
  • Refactor wrapper emission with modular datatable and per-wrapper cache by @leynos in #330
  • Adds Vale prose linting and cleans up docs by @leynos in #331

Full Changelog: v0.1.0...v0.2.0

First point release

08 Nov 02:36

Choose a tag to compare

What's Changed

  • Update slab dependency by @leynos in #132
  • Bump actions/checkout from 4 to 5 by @dependabot[bot] in #128
  • Bump toml from 0.8.23 to 0.9.2 by @dependabot[bot] in #127
  • Bump inventory from 0.3.20 to 0.3.21 by @dependabot[bot] in #126
  • Bump regex from 1.11.1 to 1.11.2 by @dependabot[bot] in #125
  • Bump proc-macro2 from 1.0.95 to 1.0.101 by @dependabot[bot] in #124
  • Bump clap from 4.5.45 to 4.5.46 by @dependabot[bot] in #122
  • Configure markdownlint and format ergonomics doc by @leynos in #144
  • Document planned tag filtering support by @leynos in #139
  • Add compile-time step validation by @leynos in #143
  • Add cargo-bdd diagnostic subcommand by @leynos in #142
  • Sanitize trybuild macro-backtrace diagnostics by @leynos in #148
  • Clarify compile-time registry and tighten user guide punctuation by @leynos in #149
  • Test strict compile-time validation in CI by @leynos in #147
  • Inline step keyword parsing and remove helpers by @leynos in #141
  • Emit help diagnostics for step macros by @leynos in #153
  • Bump rstest from 0.18.2 to 0.26.1 by @dependabot[bot] in #138
  • Bump hashbrown from 0.15.4 to 0.16.0 by @dependabot[bot] in #152
  • Add implicit fixture injection to rstest-bdd by @leynos in #145
  • Refactor step keyword resolution by @leynos in #151
  • Cache parsed features across macro invocations by @leynos in #156
  • Cache canonical feature path lookups by @leynos in #157
  • Specify rstest-bdd version for cargo-bdd by @leynos in #155
  • Document internationalisation roadmap by @leynos in #161
  • Precompile step patterns in registry by @leynos in #159
  • Clarify safety of leaking step patterns by @leynos in #164
  • Speed up macro step lookup by @leynos in #162
  • Short-circuit step matching to avoid allocations by @leynos in #163
  • Streamline step registration and expand ambiguity tests by @leynos in #166
  • Infer step patterns from function names by @leynos in #167
  • Improve step validation coverage by @leynos in #168
  • Remove srgn guide and reference by @leynos in #170
  • Document cap-std and camino for file access by @leynos in #171
  • Add macros for asserting step results by @leynos in #173
  • Test custom error types and panic substring matching by @leynos in #175
  • Document skip macro roadmap by @leynos in #174
  • Enable step return value injection by @leynos in #176
  • Document typed data table support by @leynos in #183
  • Normalise design doc spelling and footnotes by @leynos in #187
  • Rename todo CLI steps to match Gherkin text by @leynos in #185
  • Use specialization for step result conversions by @leynos in #189
  • Add tests for step result conversions and ambiguous fixtures by @leynos in #184
  • Bump tempfile from 3.21.0 to 3.22.0 by @dependabot[bot] in #169
  • Bump trybuild from 1.0.110 to 1.0.111 by @dependabot[bot] in #177
  • Bump serde_json from 1.0.143 to 1.0.145 by @dependabot[bot] in #178
  • Bump serde from 1.0.219 to 1.0.225 by @dependabot[bot] in #181
  • Bump toml from 0.9.5 to 0.9.7 by @dependabot[bot] in #190
  • Document IntoStepResult specialisation by @leynos in #193
  • Use expect for todo step lint reason by @leynos in #188
  • Complete i18n regression suite by @leynos in #191
  • Add fallback test for custom step results by @leynos in #194
  • Add nested IntoStepResult unit test by @leynos in #195
  • Refine step return scenarios and helper by @leynos in #201
  • Promote shared pattern engine into publishable crate by @leynos in #196
  • Automate live crate publishing workflow by @leynos in #228
  • Relocate macros integration tests to runtime crate by @leynos in #239
  • Fix publish-check macros dependency expectations by @leynos in #240
  • Handle already published crates in live publish by @leynos in #238
  • Refactor publish workspace conditionals by @leynos in #237
  • Document scenario title binding plans by @leynos in #246
  • Introduce typed fixtures for trybuild tests by @leynos in #243
  • Document the pattern tokenisation pipeline by @leynos in #248
  • Split step error integration tests and refactor macro helpers by @leynos in #244
  • Annotate markdown code fences by @leynos in #250
  • Return error when accessing uncompiled step regex by @leynos in #247
  • Prevent symlink loops in feature discovery by @leynos in #245
  • Harden scenario macro name selector by @leynos in #249
  • Add typed data table runtime support by @leynos in #251
  • Normalise localised error messages by @leynos in #252
  • Refine datatable helpers and docs by @leynos in #255
  • Clarify unsupported step type docs and tidy localisation tests by @leynos in #256
  • Add localisation bundles for new locales by @leynos in #259
  • Switch to localization spelling by @leynos in #258
  • Add Fluent localizations for additional languages by @leynos in #260
  • Add Fluent translations for additional locales by @leynos in #261
  • Reduce cyclomatic complexity of truthy_bool by @leynos in #257
  • Document internationalisation guidance by @leynos in #262
  • Add Japanese BDD example and update i18n docs by @leynos in #263
  • Add derive macros for typed data tables by @leynos in #264
  • Document DataTableError diagnostics in the user guide by @leynos in #269
  • Refactor datatable derive helpers into dedicated modules by @leynos in #268
  • Add compile-fail coverage for optional datatable attributes by @leynos in #272
  • Add scenario state slots and derive support by @leynos in #273
  • Prevent publish-check CLI from exiting under tests by @leynos in #281
  • Rename wrapper parameters to avoid collisions by @leynos in #279
  • Add compile-time tag filtering to scenario macros by @leynos in #274
  • Remove redundant proc_macro_error attributes by @leynos in #282
  • Add configurable skip handling for rstest-bdd scenarios by @leynos in #283
  • Raise MSRV to 1.75 and guard against async-trait regressions by @leynos in #284
  • Extend skip! macro formatting support by @leynos in #286
  • Add reporting writers for scenario outcomes by @leynos in #288
  • Add struct-based StepArgs derive macro and runtime support by @leynos in #289

Full Changelog: v0.1.0-alpha2...v0.1.0

It's out there

29 Aug 00:30
1598cdb

Choose a tag to compare

It's out there Pre-release
Pre-release

What's Changed

  • Error on unbalanced step braces by @leynos in #107
  • Error on unbalanced step braces by @leynos in #112
  • Support #[datatable] attribute for step parameters by @leynos in #105
  • Introduce structured StepError and test wrappers by @leynos in #104
  • Escape unknown backslash sequences by @leynos in #106
  • Document step pattern parsing sequence by @leynos in #117
  • Normalise missing directory error message by @leynos in #118
  • Add dedicated placeholder syntax error and brace tests by @leynos in #116
  • Remove runtime dependency from macros crate by @leynos in #119
  • Handle And/But keywords and improve diagnostics by @leynos in #121
  • Implement ToTokens for StepKeyword and normalise And/But by @leynos in #129
  • Remove runtime crate dependency from macros by @leynos in #130

Full Changelog: v0.1.0-alpha1...v0.1.0-alpha2

In the oven

23 Aug 10:33
2cc6150

Choose a tag to compare

In the oven Pre-release
Pre-release

What's Changed

  • Apply formatting to docs by @leynos in #1
  • Fix docs collocation by @leynos in #3
  • Fix doc tables by @leynos in #2
  • Implement workspace scaffolding by @leynos in #4
  • Implement step registry by @leynos in #5
  • Implement step macros with inventory registration by @leynos in #6
  • Implement initial scenario macro by @leynos in #7
  • Refactor scenario test helper by @leynos in #8
  • Implement fixture integration for rstest-bdd by @leynos in #9
  • Add Scenario Outline handling by @leynos in #13
  • Fix AGENTS.md punctuation by @leynos in #12
  • Implement typed step arguments by @leynos in #16
  • Improve Scenario Outline validation by @leynos in #15
  • Refactor macros crate into focused modules by @leynos in #23
  • Improve step parsing diagnostics by @leynos in #27
  • Ensure outline scenario test runs serially by @leynos in #22
  • Refactor scenario arg parsing by @leynos in #25
  • Cache step pattern regexes by @leynos in #26
  • Adopt Result-based step execution by @leynos in #29
  • Add step type relationships diagram by @leynos in #36
  • Use case name in scenario assertion by @leynos in #30
  • Handle typed placeholders and escaped braces by @leynos in #28
  • Add Background step support by @leynos in #43
  • Add data table support by @leynos in #47
  • Refactor table cell literal creation in scenario codegen by @leynos in #51
  • Add DocString support for Gherkin steps by @leynos in #52
  • Parse step patterns for clearer errors by @leynos in #54
  • Refactor wrapper code generation into submodules by @leynos in #55
  • Check feature file existence by @leynos in #60
  • Add todo-cli example with BDD tests by @leynos in #61
  • Use array runner for nixie by @leynos in #72
  • Add shared crate metadata by @leynos in #69
  • Prefer bun and add pnpm fallback for nixie by @leynos in #73
  • Add scenarios! macro for automatic feature discovery by @leynos in #68
  • Refactor pattern parsing with regex by @leynos in #86
  • Propagate pattern mismatch errors in generated wrappers by @leynos in #90
  • Use StepPattern references in step registry by @leynos in #91
  • Sanitize wrapper identifiers for non-ASCII names by @leynos in #88
  • Document missing capture panic by @leynos in #92

Full Changelog: https://github.com/leynos/rstest-bdd/commits/v0.1.0-alpha1