Releases: bitovi/testee
0.10.2
mocha was accidentally removed as a prod dependency in 0.10.0 -- it was listed as both a prod and dev dependency in 0.9 and then removed from the wrong dependency set. This release restores mocha as a prod dependency to avoid module not found errors.
PR #205
Mocha 9 and 10 are both supported. See commit: 7c98561
0.10.1
0.10.0
NodeJS 12.x and later compatibility
This release of testee depends on an updated version of https://github.com/daffl/miner , which removes some previous deep dependencies on internal features of NodeJS which are no longer available (as of Node 12) nor necessary.
Enable reporterOptions parameter to the specified Reporter
Resolve security vulnerabilities
Update dependencies to resolve security vulnerabilities #173
node_modules exposed
In this release, testee will not instrument any files in node_modules
for test coverage when using the basic --coverage
option.
If you use the --coverage
option, the node_modules
folder will be ignored automatically to prevent errors.
If using a config, the coverage
option is not changed, so you can still cover node_modules
if you want to for some reason by doing:
coverage: {
ignore: []
}
Grunt is Gone
As explained in the 0.6 release, Testee has broken Grunt support into its own project grunt-testee
. In this 0.7 release Grunt support is now removed from the Testee main project.
Timed Objective
In v0.6.0, I mistakenly used an object to the timeout error message which made timeout errors look like:
1) General error http://localhost:3996/test/index.html?__token=5ga9ch on {"browser":"firefox"}:
Error: Browser timed out within [object Object] seconds
That is fixed. The README was also updated with a comment on the recommended Testee testing workflow.
Native I Promise
This release switches Testee over to using native Promises instead of Q's Promise API. Q was very convenient when Testee was started, however exposing a third-party API is not a best practice and introduces chance of breakage when things go a different direction. 0.6.0 is that breakage, and from this point forward we will only be using native Promises.
Upgrading to v0.6.0, if you use Testee programmatically you will need to replace:
.done()
with.then()
.fail()
with.catch()
Please consult the Q API and MDN Promise docs for more rare usage, or me @andrejewski if you need help migrating.
Also the Grunt task for Testee has its own repo now at bitovi/grunt-testee. Using the Grunt task directly from Testee is deprecated and the task will be removed in v0.7.0. Please migrate accordingly.