- npm audit fix for some vulnerabilities
- upgrade to mocha@9
- fix usage of uuid to comply with uuid@8
- fix usage of Mkdirp where we were promisifying (in the scaffold feature), but new version of Mkdirp already returns a promise
- Updated
chromedriver
dependency to version 81, which requires Node 10 - Updated minimum requirement to
Node 10
fromNode 8
- Instantiate and injects
nemo
into context on the globalbeforeEach
hook whendriverPerTest
istrue
- Updated dependency to Mocha 7.1.1 since that is the version that fixes start event firing too early, before it can be monitored. mochajs/mocha#2753
- Added
before:root
event
- fix type error that is causing when describe.skip is used (#75)
- skip creating nemo instance when suite has empty tests (#76)
- added suite:before, test:before, suite events (see #71)
- greenkeeper dependency updates
- add config to force zero exit code (see #64)
- merge/publish greenkeeper update PR #66
- fix nemo-core npm audit issues
- Feature: More flexible "listeners" property
- fix npm audit issues
- fix npm audit issues
- Fix: "simple" scaffold not working with nested directory. Promise chaining wasn't waiting for mkdirp
- Fix #57: destroyNemo not properly called in Suite.afterAll in mocha.js
- Fix #32: only merge "base" data in data/parallel mode if we aren't running "base" profile
- Fix #52: root data inclusion and override for plain JS config use case
- Fix #53: plugin configuration for plain JS config use case
- adding a plain JS/JSON config option (see additional docs in README)
- enhance "zero tests" check in mocha runner
- remove "parallel by file" conditional so it runs for every instance
- conditionally use "grep" if provided by user
- add "mkdirp" to output listener, to create
summary.json
even if no tests run
- Add emitter for custom events from test context into master instance as
nemo.runner.emit
- added post
npm test
verification of report directories/files type/count - pull CLI-context-based config out into config directory
- enables future run contexts to have separate base config
- pull
snap
plugin config to config file, to cleanly utilizeconfit
and enable overriding if ever required - fix ES6 eslint issues (var to let/const, etc)
- replaced circular-json npm package with it's successor: flatted.
- calculate and set a non-zero exit code if any test failures
- add
-E
or--exit
CLI option to force exit after Nemo is done running tests
- adding a "simple" suite to the scaffold feature
- feature: merge nemo.data from base profile with parallel-data data. adding lodash.omit
- feature: pull in [email protected] to use custom driver feature
- add logic in runner/mocha.js: if "driver" is a string, prepend with
require:
to load custom driver module
- fix driverPerTest: true afterEach context so driver will quit
- add
<profile>.driverPerTest
false
(default): current behavior. single webdriver/nemo instance per Mocha Suitetrue
: new behavior. new webdriver/nemo instance per Mocha Test
- add nemo to mocha lifecycle context so its available to before/after/beforeEach/afterEach
- add
-U
or--allow-unknown-args
to prevent Nemo from validating CLI arguments
- fix scaffold "tests" glob pattern in config
- modify scaffold to favor CLI arg -L over env variable in config
- fix logic around
output.reports
- avoid writing
summary.json
to undefined directory - fallback to manually configured mochawesome/xunit if
output.reports
DNE - don't create timestamped directories if
output.reports
DNE - don't take screenshots if
snap()
has no path specified andoutput.reports
DNE
- avoid writing
- clean up some error/info logging for consistency
- integrate new mochawesome-report-generator assetsDir feature
- rename modules to be more akin to their purpose
- add first revision of graphQL endpoint
- add event emitter and custom events hook
- log errors always (remove
debug()
wrapper) - couple fixes from sairamnutheti
- test errors not reported in mochawesome
- form test uses deprecated API call
- refactor "instance" to remove mocha concern as a separate file
- remove "instance.reportFile" property and reimplement as a "tag" specified in the reporter custom functions
- truncate "reportFile" tag by removing common report path for better console output
- add easier logging via
-L
flag - remove auto-post-test screenshots
- pull screenshot capability into internal plug-in
- upgrade mocha to ^4
- major release for ease of use
- add datastore capability
- add scaffold capability
- rename from nemo-runner to nemo
- works for xunit and mochawesome reporters:
- group nemo instance reports under directory [MMDDYYYY]/[HHMMSS]
- add main report.json for set of parallel instances
- add "afterEach" screenshot (for mochawesome, adds image directly to report)
- add "nemo.runner.snap" method to take a screenshot
- fix for #25 (data parallel feature doesn't use specific profile data object)
- modify driver kill logic (again) to exit nemo when the
root
mocha Suite ends - add current mocha test's context to the
nemo.mocha
property
- modify driver kill logic to count total suites (fixes nested suites)
- add nested suites to tests
- add couple more scripts to package.json
- kill child processes when they error
- add parallel test
- enable the
data
parallel feature
- allow setting concurrency limit in config with
maxConcurrent
for parallel testing
- prevent mocha from running against 0 matches in "parallel": "file" mode
- append profile name to report filename
- fix file name appending
- add basic testing
- implement parallel by file feature