github.com/yrj2011/jx-test-infra@v0.0.0-20190529031832-7a2065ee98eb/triage/node_modules/jasmine/README.md (about) 1 [](https://travis-ci.org/jasmine/jasmine-npm) 2 3 # The Jasmine Module 4 5 The `jasmine` module is a package of helper code for developing Jasmine projects for Node.js. 6 7 The core of jasmine lives at https://github.com/jasmine/jasmine and is `jasmine-core` in npm. 8 9 ## Contents 10 11 This module allows you to run Jasmine specs for your Node.js code. The output will be displayed in your terminal by default. 12 13 ## Documentation 14 15 http://jasmine.github.io/2.5/node.html 16 17 ## Installation 18 ```sh 19 # Local installation: 20 npm install --save-dev jasmine 21 22 # Global installation 23 npm install -g jasmine 24 ``` 25 26 ## Initializing 27 28 To initialize a project for Jasmine 29 30 `jasmine init` 31 32 To seed your project with some examples 33 34 `jasmine examples` 35 36 ## Usage 37 38 To run your test suite 39 40 `jasmine` 41 42 ## Configuration 43 44 Customize `spec/support/jasmine.json` to enumerate the source and spec files you would like the Jasmine runner to include. 45 You may use dir glob strings. 46 More information on the format of `jasmine.json` can be found in [the documentation](http://jasmine.github.io/2.4/node.html#section-Configuration) 47 48 Alternatively, you may specify the path to your `jasmine.json` by setting an environment variable or an option: 49 50 ```shell 51 jasmine JASMINE_CONFIG_PATH=relative/path/to/your/jasmine.json 52 jasmine --config=relative/path/to/your/jasmine.json 53 ``` 54 55 ## Support 56 57 Documentation: [jasmine.github.io](https://jasmine.github.io) 58 Jasmine Mailing list: [jasmine-js@googlegroups.com](mailto:jasmine-js@googlegroups.com) 59 Twitter: [@jasminebdd](http://twitter.com/jasminebdd) 60 61 Please file issues here at Github 62 63 Copyright (c) 2008-2017 Pivotal Labs. This software is licensed under the MIT License.