Jonatan Nilsson
25f50483e1
eltro: Fixed flow. before/after/beforeEach/afterEach now can be defined multiple times in a group. In addition, beforeEach and afterEach get called for each children of said group.
continuous-integration/appveyor/branch AppVeyor build failed
Details
2023-09-03 19:44:45 +00:00
Jonatan Nilsson
c09a4c805e
Fully refactored the watcher
2023-09-03 19:43:59 +00:00
Jonatan Nilsson
b476d23a77
watcher: Fix all tests
2023-09-03 00:12:49 +00:00
TheThing
fe2f6ccca9
Merge remote-tracking branch 'origin/master'
continuous-integration/appveyor/branch AppVeyor build failed
Details
2023-09-02 08:23:34 +00:00
TheThing
b47fa2b068
watcher: Imported node-watch into the project including tests.
2023-09-02 08:23:26 +00:00
Jonatan Nilsson
bd478e7753
assert: Add new feature throwsAndCatch, returns the original thrown error
continuous-integration/appveyor/branch AppVeyor build succeeded
Details
2023-08-28 06:25:22 +00:00
Jonatan Nilsson
a2638b671d
sinon: Add helper function findCall()
...
continuous-integration/appveyor/branch AppVeyor build succeeded
Details
update readme quite a bit
2023-08-26 21:06:44 +00:00
Jonatan Nilsson
9d2b71339c
Added helpers into cb:
...
continuous-integration/appveyor/branch AppVeyor build succeeded
Details
* wrap() that auto captures thrown exceptions and cb's them
* finish() that auto captures thrown exception and cb's them, otherwise auto-finishes the cb for you
2022-07-04 10:23:41 +00:00
Jonatan Nilsson
be700ab012
cli: Add ability to override default timeout as well as ignore only tests
continuous-integration/appveyor/branch AppVeyor build failed
Details
2022-03-02 14:25:56 +00:00
Jonatan Nilsson
59ba39e406
Implemented beforeEach and afterEach.
...
continuous-integration/appveyor/branch AppVeyor build failed
Details
Also added onCall() support in sinon and chaining support.
Breaking: Renamed onCall with getCall.
2022-01-11 09:37:05 +00:00
Jonatan Nilsson
7746b52cfe
spy/stub: Add support for lastCall
...
Also added missing license file
2021-10-10 03:24:41 +00:00
Jonatan Nilsson
9992c681db
sinon: now supports reset()
2021-10-09 23:20:01 +00:00
Jonatan Nilsson
5415f2ba95
Added basic spy() and stub() functionality
2021-10-09 23:02:51 +00:00
Jonatan Nilsson
084b751b5b
Eltro: Added both before() and after() support and functionality
2021-06-18 02:06:08 +00:00
Jonatan Nilsson
3bd8d4ba51
Make eltro slightly more robust
...
Make the printError slightly more robust as well as well as make it print better when obscure errors occur when programmers fiddle with the internal mechanics of node, for example the Error.prepareStack among other things.
2021-06-02 21:28:51 +00:00
Jonatan Nilsson
970c76fd10
Fix Eltro handling of error messages so they always become normalized as Error objects
2021-06-02 15:30:45 +00:00
Jonatan Nilsson
7c4829c36b
Revamped and reworked entire grouping and testing. Added better support for nested groups. Fixed a bunch of bugs.
2021-06-02 12:08:22 +00:00
Jonatan Nilsson
e1a8911d55
Add skip/only/timeout on entire describe level
2020-04-01 17:16:46 +00:00
Jonatan Nilsson
efa90c1a59
Added exclusivity support as well as only/timeout/skip support in front of test
2020-04-01 16:42:13 +00:00
Jonatan Nilsson
f9d6ca20d7
Updated readme and few other minor tests
2020-04-01 15:50:55 +00:00
Jonatan Nilsson
4fa7f0314b
CLI: Added better check for options
2020-04-01 15:46:11 +00:00
Jonatan Nilsson
4d695338e0
Rename from casette to eltro
2020-04-01 15:35:33 +00:00
Jonatan Nilsson
653e54c846
Prepare first release
2020-03-31 17:27:36 +00:00