Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
The anti-human approach to JavaScript testing.
$ [sudo] npm install -g benderjs
In order to configure Bender.js for your project, you need to create a configuration file.
Use bender init
command to create Bender configuration file and local .bender/
directory.
Below is an empty config file.
/**
* Bender configuration file
*
* @param {String} assertion Default assertion library used for the tests
* @param {Object} applications Applications used in current project
* @param {Array} plugins List of Bender plugins to load at startup
* @param {Array} browsers List of default browsers used for testing
* @param {Number} slowAvgThreshold Average test case duration threshold above which a test is marked as slow
* @param {Number} slowThreshold Test duration threshold above which a test is marked as slow
* @param {Number} testRetries Number of retries to perform before marking a test as failed
* @param {Number} testTimeout Timeout after which a test will be fetched again
* @param {Object} tests Test groups for the project
*/
var config = {};
module.exports = config;
For more information on Bender configuration, check out the Wiki - Configuration page.
Type bender
to see available commands:
Usage: bender <command> [options]
Commands:
clean Clean all Bender.js local files except the configuration
init Initialize Bender.js for this directory
run Run the tests in a browser and output the results to the console
server Handle Bender.js server
version Print Bender.js version
Options:
-c, --config Alternative path to Bender.js configuration file [bender.js]
-d, --debug
-H, --hostname Hostname used to run the server
-p, --port Port on which the server will listen
In order to run Bender in your project, open the console in project's directory and type:
$ bender server run
This will start the server in the verbose mode.
Now open a web browser. Bender.js dashboard is available under:
http://localhost:1030
Note: You can also run the server as a daemon:
bender server start
At the moment, starting a daemon is supported on Unix systems only.
If you want, you can specify a port or a hostname where Bender.js runs:
-p, --port The port on which the server will run (default: 1030).
-H, --hostname The hostname used to run the server (default: 0.0.0.0).
For more information on Bender command line interface, check out the Wiki - Command line page.
$ npm install
$ npm test
To get the code coverage report run:
$ npm test --coverage
A detailed report will be created in ./coverage/lcov-report/index.html
file.
For license details see: LICENSE.md.
FAQs
The anti-human approach to JavaScript testing
The npm package benderjs receives a total of 0 weekly downloads. As such, benderjs popularity was classified as not popular.
We found that benderjs 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.