- Updated dependencies, base files, and editions using boundation
- Thank you to the sponsors: Andrew Nesbitt, Balsa, Codecov, Poonacha Medappa, Rob Morris, Sentry, Syntax
- Updated dependencies, base files, and editions using boundation
- Thank you to the sponsors: Andrew Nesbitt, Balsa, Codecov, Poonacha Medappa, Rob Morris, Sentry, Syntax
-
Updated dependencies, base files, and editions using boundation git@github.com:bevry/kava.git
-
Thank you to the sponsors: Andrew Nesbitt, Balsa, Codecov, Poonacha Medappa, Rob Morris, Sentry, Syntax
- Updated dependencies, base files, and editions using boundation
- Thank you to the sponsors: Andrew Nesbitt, Balsa, Codecov, Poonacha Medappa, Rob Morris, Sentry, Syntax
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Minimum required Node.js version changed from
node: >=8
tonode: >=4
adapting to ecosystem changes
- Updated dependencies, base files, and editions using boundation
- Minimum required Node.js version changed from
node: >=10
tonode: >=8
adapting to ecosystem changes
- Updated dependencies, base files, and editions using boundation
- Updated license from
MIT
toArtistic-2.0
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Minimum required node version changed from
node: >=8
tonode: >=10
to keep up with mandatory ecosystem changes
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Updated dependencies, base files, and editions using boundation
- Minimum required node version changed from
node: >=0.12
tonode: >=8
to keep up with mandatory ecosystem changes
- Updated dependencies, base files, and editions using boundation
- Added minimal TypeScript types for common usage
- Renamed from
joe
tokava
- To upgrade
npm install --save-dev kava
thennpm uninstall --save-dev joe joe-reporter-console joe-reporter-list
- Credit to Sam Holmes for the
kava
package name
- To upgrade
- Added Technical API Documentation
- Closes issue #12
- Changed the way adding reporters work
- As a consumer, you can now specify custom configuration to
addReporter
- As a reporter author, the kava instance is now sent via the configuration, rather than applied to the instance after the constructor
- As a consumer, you can now specify custom configuration to
- Errors in Error Logs are now named
error
instead oferr
- Removed the need to install reporters separately
- This is enabled because the following repositories have been inlined:
- The console reporter is once again the default, allowing you to avoid having to manually specify the reporter to use
- Reporters can still be changed via the environment variable, now named
KAVA_REPORTER
- Changing reporters via command line arguments is no longer supported for simplicity's sake
- Fixed
hasReporters
not working- Closes pull request #23 thanks to Robert de Forest
- Updated base files and editions using boundation
- Fixed
--joe-reporter=console
not working (regression since v2.0.0) - Fixed early node compatibility properly (initial attempt was in v2.0.0)
- Fixed tests not being published to npm for use in the testing ecosystem
This release contains several major improvements to internals and undocumented functionality, which potentially impact backwards compatibility with before and after hooks, and reporter functionality. For the average end-user these should be non-functional changes and should just improve the quality of the reports that joe generates.
- The before and after hooks are now stable and documented -
before
andafter
listers fire with the context as the item they are bound to, receiving no arguments besides the optional completion callbacktask.before
,task.after
,suite.before
,suite.after
listeners fire with the context as the suite they are bound to, receiving the first argument as the item for the hook, as well as the optional completion callback
- Suite initialiser methods now get descriptive names instead of no name
- If a suite or test encounter an error, the
finish[Test|Suite]
reporting now always occurs regardless ofreporting
preference - The global suite now has a name of
global joe suite
, it is up to the reporters to filter this out - Reporter can now be specified via the
JOE_REPORTER
environment variable - Reporter must now be specified, no longer defaults to
joe-reporter-console
--joe-reporter
andJOE_REPORTER
can now point to paths to loadsetReporter
now expects to receive a reporter instance- Exit reporting now contains the reason for the exit as the second argument
getItemName
has now been removed, it should be handled by the reporters insteaduncaughtException
method has been removed, it doesn't make sense being an API call- Simplified cross environment (browser, windows, etc) handling
- Exiting should now be more reliable across different node versions and browser environments
- browsers will now have exit reporting by waiting for the global suite to destroy
- on node
- joe will now listen to
beforeExit
so exits can perform more reliably - joe will no longer bother with
SIGINT
on windows asbeforeExit
should now accomplish that - joe will no longer listen to the global suites completion event to exit, now it just listens to the
beforeExit
,exit
, anduncaughtException
events- this is groundwork to solving issue #19 (a regression since v1.8.0)
- joe will now listen to
- Early node version support added once again without the need of a polyfill
- Moved examples out from this repository into the new
joe-examples
repository - Testing infrastructure now tests the most common reporters against the most common examples
- Updated base files
- Converted from CoffeeScript to ESNext
- Updated for TaskGroup v5 and EventEmitterGrouped v2.5.0
- Updated internal conventions
-
Prevent usage with Event Emitter Grouped v2.5.0 as its ES6 class does not give us the prototype fields we need to mix it into our classes - Changes semver of it from
^2.4.3
to~2.4.3
- So this release fixes the following issue (which we were encountering with DocPad v6.79 which uses Joe v1.6.0):``` $ npm test > joe@1.6.0 test /Users/balupton/Projects/active/joe > node out/test/joe-test.js /Users/balupton/Projects/active/joe/out/lib/joe.js:186 this.emitSerial('before', (function(_this) { ^ TypeError: this.emitSerial is not a function at _Class.run (/Users/balupton/Projects/active/joe/out/lib/joe.js:186:14) at Object.getGlobalSuite (/Users/balupton/Projects/active/joe/out/lib/joe.js:331:12) at Object.exit (/Users/balupton/Projects/active/joe/out/lib/joe.js:456:18) at Object.uncaughtException (/Users/balupton/Projects/active/joe/out/lib/joe.js:477:11) at process.<anonymous> (/Users/balupton/Projects/active/joe/out/lib/joe.js:503:18) at emitOne (events.js:96:13) at process.emit (events.js:191:7) at process._fatalException (bootstrap_node.js:301:26) THE ABOVE IS -->NOT<-- WHAT WE EXPECTED. TESTS HAVE FAILED npm ERR! Test failed. See above for more details. ```
- Updated for TaskGroup v4.2 - TaskGroup v4.2 should now let us catch more errors in Node v0.10 and above
- Updated for TaskGroup v4.0 - Closes issue #9, and issue #6
- Added ability to set before and after listeners for all child tests and suites -
this.on('test.before', listener)
-this.on('test.after', listener)
-this.on('suite.before', listener)
-this.on('suite.after', listener)
- Closes issue #8
- Added before and after hooks
- Updated dependencies
- Repackaged
- Updated dependencies
- We now catch uncaught errors within tests and suites
- Updated to use TaskGroup
- Reporters now exist in their own packages. More info.
- No longer output "joe" as the main suite name
- Browser tests now auto exit after the last test has run
- Updated dependencies
- Build improvements
- Updated bal-util from v1.3 to v1.15
- Updated coffee-script devDependency from 1.3 to 1.4
- Updated cli-color from v0.1 to v0.2
- Updated bal-util from v1.11 to v1.13 - Update: turns out I actually specified v1.3 instead of v1.13 - it works, but not desirable, fixed in v1.1.1
- Windows support
- Re-added markdown files to npm distribution as they are required for the npm website
- We now error on incomplete tasks
- Joe now handles (instead of reporters): - the counting of total, passed, failed and incomplete suites and tests - the logging of errors with their suites sand tests - the fetching of suite and test names (including their parents)
- Joe will now throw errors if you have an incorrect amount of arguments for your
suite
andtest
callbacks
- Finalised and cleaned the API
- More cleaning
- We include
cli-color
now in dependencies and optionalDependencies so it will install for node 0.4 users - We now return the correct exit code
- Now handles optional dependencies correctly
- Added cli-color as an optional and bundled dependency
- bal-util is now a bundled dependency
- Joe no longer exposes globals, use
joe.describe|suite
, and nowjoe.test|it
- Global suites now run under the suite
joe.globalSuite
, which allows us to auto-exit
- Lots of cleaning
- Abstracted generic code to bal-util
- Bugfixes
- Added support for reporters
- Initial and working commit