
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
a behavior driven development framework for test complete projects and any other testing projects
This repository contains code which allows cucumber-js BDD framework to be wrapped around a testing tool by means of a custom driver.
npm install -g yo generator-wrap-bdd cucumbermkdir bddcd bddyo wrap-bddAll source is written using coffee script. In the command prompt of root directory use the following to quickly compile all coffee script source:
coffee --compile --output lib/ src/
To wrap cucumber-js BDD with any testing tool, a testtoolfactory.coffee is provided to return an appropriate instance of the test tool driver. When writing the test tool driver, the only two criteria are that the test driver expose a testResult method and test driver emit a testResult event. The testResult method accepts a callback function with a boolean parameter. The 'testResult' event should be emitted when the testing tool has finished and returned result. Following are sample blocks where you will need to make changes when introducing a new test driver:
createObject: (paramObj) ->
switch process.env.oletesttool
when 'TestComplete'
new tc paramObj
when 'TestExecute'
new te paramObj
else
throw new TypeError 'Invalid/Unsupported Testing tool. Fix: set oletesttool=TestComplete'
module.exports = class tcdriver extends EventEmitter
constructor: (paramObj,tool) ->
# do something and maybe you want to emit the 'testResult' event here
testresult: (cb)->
cb @result
return
Still need to work on this.
FAQs
a behavior driven development framework for test complete projects and any other testing projects
We found that wrap-bdd demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.