Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@breautek/jasmine
Advanced tools
The jasmine
module is a package of helper code for developing Jasmine projects for Node.js.
The core of jasmine lives at https://github.com/jasmine/jasmine and is jasmine-core
in npm.
This module allows you to run Jasmine specs for your Node.js code. The output will be displayed in your terminal by default.
https://jasmine.github.io/edge/node.html
# Local installation:
npm install --save-dev jasmine
# Global installation
npm install -g jasmine
To initialize a project for Jasmine
jasmine init
To initialize a project for Jasmine when being installed locally
node_modules/.bin/jasmine init
or
npx jasmine init
To seed your project with some examples
jasmine examples
To run your test suite
jasmine
Customize spec/support/jasmine.json
to enumerate the source and spec files you would like the Jasmine runner to include.
You may use dir glob strings.
More information on the format of jasmine.json
can be found in the documentation
Alternatively, you may specify the path to your jasmine.json
by setting an environment variable or an option:
jasmine JASMINE_CONFIG_PATH=relative/path/to/your/jasmine.json
jasmine --config=relative/path/to/your/jasmine.json
Execute only those specs which filename match given glob:
jasmine "spec/**/critical/*Spec.js"
Or a single file:
jasmine spec/currentSpec.js
Or execute only those specs which name matches a particular regex:
jasmine --filter "adapter21*"
(where the name of a spec is the first parameter passed to describe()
)
Documentation: jasmine.github.io Jasmine Mailing list: jasmine-js@googlegroups.com Twitter: @jasminebdd
Please file issues here at Github
Copyright (c) 2008-2017 Pivotal Labs. This software is licensed under the MIT License.
FAQs
Command line jasmine
The npm package @breautek/jasmine receives a total of 5 weekly downloads. As such, @breautek/jasmine popularity was classified as not popular.
We found that @breautek/jasmine demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.