Skip to content

Releases: flarebyte/baldrick-zest-engine

v0.9.0

27 Feb 09:01
cacf796
Compare
Choose a tag to compare

What's Changed

  • Export library as lib not cli by @olih in #5

Full Changelog: v0.8.0...v0.9.0

v0.8.0

21 Feb 08:49
8e3367a
Compare
Choose a tag to compare

What's Changed

  • Align mocha json file format with what is suppported in CI by @olih in #4

Full Changelog: v0.7.0...v0.8.0

v0.7.0

26 Sep 17:09
Compare
Choose a tag to compare

What's Changed

  • Json schema and some refactoring to use a Railway approach by @olih in #3

Full Changelog: v0.6.0...v0.7.0

v0.6.0

23 Sep 08:21
19af264
Compare
Choose a tag to compare

What's Changed

  • Importing is injected by @olih in #2

Full Changelog: v.0.5.0...v0.6.0

v0.5.0 A minimum unit test framework

21 Sep 19:47
e4ad4c8
Compare
Choose a tag to compare
A first experimental version that should be a good starting point (#1)

* Initial model for testing

* Improve testing model

* Adds spec folder

* Adds index model

* Extracts format message

* valid spec file

* Skeleton for runner

* Run the test by printing console

* Change structure to have file specific to function

* zod model for input model

* remove dependency with fs-jetpack

* Reduce dependencies

* standardize function declaration

* introduce execution model

* Adds code for running test case

* Import module and run them dynamically

* Valid fixture example

* Adds snapshot type

* Adds readDataFileSafely safely

* Create context safely for three parameters

* Adds runtime flags to model

* merge TestingRunOpts with main build model

* Load expected snaphot

* Draft snapshot

* Reorganize the code slightly

* Attemp at saving snapshots

* Fix IO snapshot issue

* Uses jest-diff instead of diff

* Adds reportyers

* Adds reporting colors

* Manages success case

* new model with mandatory unique name

* Adds todo and skip field

* Adds support for todo step

* Adds todo and skip

* Create snapshot with a better name

* Adds support for nested folders for specs

* wip of mocha reporter

* Add ID to error message

* wip finction a b c

* WIP trying to be more explicit with number of caharacters

* After refactoring of model

* Small refactoring to limit repetition

* Adds depedency injection examples

* No dependency on dot prop

* More example of transformers

* wip refactoring case executor

* way better code executor

* Adds transformer executor

* Create a list of transformer functions

* move execution context to new file

* Extract get param data

* Adds specific model for getting back data

* Combine transformers in a single one

* Transform the incoming data

* Adds another tests

* Refactor file path

* Test transformer for inputs

* Adds higher function for transformer

* separate case name with two dashes

* Adds transformer on result

* Uses object crumble

* Attempt at mutating object with crumble

* Use Record config for transformer

* adds tumble field

* Adds table to tumble

* Adds tumble executor

* setup context for tumble

* Adds support for tumble on one function

* Small refcatoring for tumble and case executor

* simplify further case executor

* Adds tumble for two and three parameters

* Lint fix

* Inject side effects

* Rename side effect to inject

* Uses inject for file read and write

* Deletes fs for mocha reporter

* snaphot are using inject

* Inject dependency on node.js

* Uses read and writeContent as higher level reading and writing of files

* Add option to add any parser

* A few small doc tweaks