Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@wdio/jasmine-framework
Advanced tools
A WebdriverIO plugin. Adapter for Jasmine testing framework.
A WebdriverIO plugin. Adapter for Jasmine testing framework.
The easiest way is to keep @wdio/jasmine-framework
as a devDependency in your package.json
, via:
npm install @wdio/jasmine-framework --save-dev
Instructions on how to install WebdriverIO
can be found here.
Following code shows the default wdio test runner configuration...
// wdio.conf.js
module.exports = {
// ...
framework: 'jasmine'
jasmineOpts: {
defaultTimeoutInterval: 10000
}
// ...
};
jasmineOpts
OptionsTimeout until specs will be marked as failed.
Type: Number
Default: 10000
The Jasmine framework allows it to intercept each assertion in order to log the state of the application or website depending on the result. For example it is pretty handy to take a screenshot every time an assertion fails.
Type: Function
Default: null
Optional pattern to selectively select it/describe cases to run from spec files.
Type: RegExp | string
Default: undefined
Inverts 'grep' matches.
Type: Boolean
Default: false
Clean up stack trace and remove all traces of node module packages.
Type: Boolean
Default: true
Run specs in semi-random order.
Type: Boolean
Default: false
Stops test suite (describe
) execution on first spec (it
) failure (other suites continue running)
Type: Boolean
Default: false
Stops a spec (it
) execution on a first expectation failure (other specs continue running)
Type: Boolean
Default: false
Require modules prior to requiring any helper or spec files.
Type: String[]
Default: []
Require helper files prior to requiring any spec files.
Type: String[]
Default: []
For more information on WebdriverIO see the homepage.
FAQs
A WebdriverIO plugin. Adapter for Jasmine testing framework.
We found that @wdio/jasmine-framework demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.