Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

notanengineercom
Copy link
Collaborator

Tests for #139
Moved all existing tests to regression folder.
Under ./spec, unit tests for the classes and logic will be written

@notanengineercom notanengineercom self-assigned this Sep 12, 2021
@notanengineercom notanengineercom merged commit 77a2032 into v2-beta Oct 3, 2021
@notanengineercom notanengineercom deleted the v2-beta-tests branch October 3, 2021 20:32
@notanengineercom notanengineercom changed the title Substitute v2-beta: Tests Substitute v2-beta: Tests refactor Oct 3, 2021
ffMathy added a commit that referenced this pull request Jun 2, 2022
* add ts-node

* create linked list classes

* minor refactoring

* add root substitute graph

* replace context with contextNode

* add recorded arguments class

* add working returns example

* update dependencies

* add compile key to ava config

* refactor existing interfaces

This includes SubstituteBase, SubstituteException, Arguments, Utilities

* replace linked list implementations with recorder + node

* rework substitute implementation

* refactor Arguments.ts

* Substitute v2-beta: Tests (#231)

* move existing tests to regression folder

* add RecordedArguments spec

* create Utilities spec

* Improve perfomance: implement RecordsSet (#232)

* improve proxy creation function

* use node contexts to simplify node logic

* implement custom records set

RecordsSet implements the higher order filter and map methods which get applied when retrieving the iterator. This increases performance as it doesn't create arrays on each .map or .filter -> the iterator yields only the end values with one iteration

* Add clear substitute (#233)

resolves #46 

* implement clearSubstitute

* add clearSubstitute spec

* 2.0.0-beta.0

* refactor and add recorder related specs (#236)

* Update package.json

Co-authored-by: Mathias Lykkegaard Lorenzen <[email protected]>
@ffMathy ffMathy added this to the v2.0 milestone Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants