You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-6Lines changed: 11 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ A [Grunt](http://gruntjs.com/) task to run your [Jasmine](http://jasmine.github.
12
12
feature suite using [jasmine-npm](https://github.com/jasmine/jasmine-npm)
13
13
and [Istanbul](https://github.com/gotwarlost/istanbul) for code coverage reports.
14
14
15
-
The minimum supported Node.js version is `4.2.0` (LTS).
15
+
The minimum supported Node.js version is `4.2.0` (LTS), and while works also in `0.10.x`, no quarantees are given.
16
16
17
17
## Getting Started
18
18
@@ -81,12 +81,14 @@ Jasmine specific configuration. Use empty object,
81
81
See the [jasmine docs](http://jasmine.github.io/2.4/node.html#section-Configuration) for more information on the supported configuration.
82
82
83
83
The `reporters` property allows the one of the following properties:
84
+
84
85
*`spec`: used to configure the [Jasmine spec reporter](https://github.com/bcaudan/jasmine-spec-reporter).
85
86
*`teamcity` set it to `true` in order to use [Jasmine Reporters - TeamCityReporter](https://github.com/larrymyers/jasmine-reporters).
86
87
87
88
If `teamcity` reporter is set `spec` reporter will be disabled and `teamcity` reporter will be added to the coverage reporters as well.
88
89
89
90
Example of using `teamcity` reporter:
91
+
90
92
```js
91
93
{
92
94
spec_dir:'spec',
@@ -138,10 +140,10 @@ Istanbul specific configuration. Use empty object,
138
140
139
141
Notes:
140
142
141
-
- The `excludes` list will automatically include `'**/node_modules/**'` internally.
142
-
- Setting the `thresholds` values greater than `0` will cause the task to fail if the specified threshold is not met.
143
-
- The `watermarks` config changes the thresholds at which the reports are displayed in red, yellow and green. It does not affect the outcome of the task.
144
-
- Setting the `report` list will allow different types of istanbul report to be set.
143
+
* The `excludes` list will automatically include `'**/node_modules/**'` internally.
144
+
* Setting the `thresholds` values greater than `0` will cause the task to fail if the specified threshold is not met.
145
+
* The `watermarks` config changes the thresholds at which the reports are displayed in red, yellow and green. It does not affect the outcome of the task.
146
+
* Setting the `report` list will allow different types of istanbul report to be set.
145
147
146
148
147
149
#### options.projectRoot
@@ -190,7 +192,7 @@ please be as specific as possible including operating system, `node`, `grunt`, a
190
192
npm --versions
191
193
```
192
194
193
-
## Migrating from pre v1 release
195
+
## Migrating from before `v1.0.0` release
194
196
195
197
If you are updating to v1.0.0, you'll need to update your Gruntfile.
196
198
@@ -249,6 +251,9 @@ Please note that the junit reporter is no longer available. If you are using thi
249
251
250
252
## Release History
251
253
254
+
*`v1.1.0` (2016-08-23)
255
+
- Add Node.js `v0.10.0` support back by using `var` instead of `const` and `let`, #55
256
+
- Teamcity reporter for Jasmine, #56
252
257
*`v1.0.0` (2016-07-23)
253
258
-**Breaking changes alert! Ensure you read the migration guide before updating from previous versions**
254
259
- Minimum supported Node.js version is `4.2.0` (LTS), removed testing against `0.10`
Copy file name to clipboardExpand all lines: package.json
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"name": "grunt-jasmine-node-coverage",
3
3
"description": "Grunt task for running jasmine using istanbul for code coverage reports. Based off of grunt-jasmine-node by Omar Gonzalez (s9tpepper).",
0 commit comments