Commit graph

60 commits

Author SHA1 Message Date
15d1ba43f4 fix kill and make it work better on more platforms
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
2024-03-01 09:40:14 +00:00
8fad1b45b1 Fix bug in kill and add basic test. Improve error handling on import errors.
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
2023-10-31 13:25:08 +00:00
a70d64e624 Implement smarter process kill when in npm mode with watch changes
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
2023-10-31 13:05:45 +00:00
18f9806135 Fix bug in cli preventing npm-only run
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
2023-10-31 08:41:03 +00:00
264364a152 Fix tests for windows
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
2023-10-31 08:32:44 +00:00
feac2678bd Cli no longer throws if eltro is only being used for npm-watching and not testing 2023-10-31 08:32:34 +00:00
b0874cfaa1 package: Release 1.4.0 of eltro
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
2023-09-28 10:03:12 +00:00
6aaf0533d7 Update 'README.md'
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
2023-09-28 10:02:47 +00:00
b7866113f0 Fix tests, remove some console output
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
2023-09-28 09:49:56 +00:00
5c9ead16b6 Huge new feature: File watcher and automatic watch and run, both tests and npm. Major improvements or refactoring in cli.
Some checks failed
continuous-integration/appveyor/branch AppVeyor build failed
2023-09-28 09:33:43 +00:00
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.
Some checks failed
continuous-integration/appveyor/branch AppVeyor build failed
2023-09-03 19:44:45 +00:00
c09a4c805e Fully refactored the watcher 2023-09-03 19:43:59 +00:00
b476d23a77 watcher: Fix all tests 2023-09-03 00:12:49 +00:00
fe2f6ccca9 Merge remote-tracking branch 'origin/master'
Some checks failed
continuous-integration/appveyor/branch AppVeyor build failed
2023-09-02 08:23:34 +00:00
b47fa2b068 watcher: Imported node-watch into the project including tests. 2023-09-02 08:23:26 +00:00
bd478e7753 assert: Add new feature throwsAndCatch, returns the original thrown error
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
2023-08-28 06:25:22 +00:00
1b697090aa Trigger a new release
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
2023-08-26 21:20:56 +00:00
c2b95f62a8 Update readme 2023-08-26 21:10:56 +00:00
a2638b671d sinon: Add helper function findCall()
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
update readme quite a bit
2023-08-26 21:06:44 +00:00
9d2b71339c Added helpers into cb:
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
* 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
2c3fc01722 Increment version by one
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
2022-03-02 14:57:27 +00:00
79cbaa2c42 Fix appveyor if apk add fails
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
2022-03-02 14:56:13 +00:00
c2a86ea8f6 build stop early if apk add fails
Some checks failed
continuous-integration/appveyor/branch AppVeyor build failed
2022-03-02 14:33:43 +00:00
be700ab012 cli: Add ability to override default timeout as well as ignore only tests
Some checks failed
continuous-integration/appveyor/branch AppVeyor build failed
2022-03-02 14:25:56 +00:00
72d5e8d124 Readme: Add badge
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
2022-01-11 09:44:42 +00:00
819ca84429 Fix bug with process.stdout.clearLine being missing. Use readline instead.
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
2022-01-11 09:43:48 +00:00
26217cd529 Increment version
Some checks failed
continuous-integration/appveyor/branch AppVeyor build failed
2022-01-11 09:38:20 +00:00
59ba39e406 Implemented beforeEach and afterEach.
Some checks failed
continuous-integration/appveyor/branch AppVeyor build failed
Also added onCall() support in sinon and chaining support.
Breaking: Renamed onCall with getCall.
2022-01-11 09:37:05 +00:00
5e14f3f94c Add appveyor config
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
2022-01-11 07:29:15 +00:00
0327de8bdc 1.2.3 2021-10-11 01:29:30 +00:00
96de2a5fbc cli: Fix so it returns error code on failed tests 2021-10-11 01:29:07 +00:00
11135fde83 1.2.2 2021-10-10 03:24:50 +00:00
7746b52cfe spy/stub: Add support for lastCall
Also added missing license file
2021-10-10 03:24:41 +00:00
c3c8169aeb 1.2.1 2021-10-09 23:20:07 +00:00
9992c681db sinon: now supports reset() 2021-10-09 23:20:01 +00:00
f54fb7d51a 1.2.0 2021-10-09 23:03:06 +00:00
5415f2ba95 Added basic spy() and stub() functionality 2021-10-09 23:02:51 +00:00
084b751b5b Eltro: Added both before() and after() support and functionality 2021-06-18 02:06:08 +00:00
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
a571b95f90 Increment version 2021-06-02 15:31:14 +00:00
d4a23326ce cli: Print filename in question that throws during import 2021-06-02 15:31:09 +00:00
970c76fd10 Fix Eltro handling of error messages so they always become normalized as Error objects 2021-06-02 15:30:45 +00:00
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
d7d7f1526e 0.9.1 2020-04-01 17:17:09 +00:00
e1a8911d55 Add skip/only/timeout on entire describe level 2020-04-01 17:16:46 +00:00
efa90c1a59 Added exclusivity support as well as only/timeout/skip support in front of test 2020-04-01 16:42:13 +00:00
f9d6ca20d7 Updated readme and few other minor tests 2020-04-01 15:50:55 +00:00
efc9c5901b 0.9.0 2020-04-01 15:46:15 +00:00
4fa7f0314b CLI: Added better check for options 2020-04-01 15:46:11 +00:00
b8deafd11c finished renaming 2020-04-01 15:42:14 +00:00