newman-reporter-qase 1.0.0-alpha2 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "example",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "newman run ./sample-collection.json -r qase --reporter-qase-logging --reporter-qase-projectCode DEMO --reporter-qase-apiToken $QASE_API_TOKEN"
8
+ },
9
+ "keywords": [],
10
+ "author": "",
11
+ "license": "ISC",
12
+ "devDependencies": {
13
+ "newman": "^5.3.0",
14
+ "newman-reporter-qase": "../"
15
+ }
16
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "info": {
3
+ "name": "Sample Postman Collection",
4
+ "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json",
5
+ "description": "A sample collection to demonstrate collections as a set of related requests"
6
+ },
7
+ "item": [
8
+ {
9
+ "name": "A simple GET request",
10
+ "event": [
11
+ {
12
+ "listen": "test",
13
+ "script": {
14
+ "type": "text/javascript",
15
+ "exec": [
16
+ "// qase: 1,2,3,4 ",
17
+ "pm.test('expect response be 200', function () {",
18
+ " pm.response.to.be.ok",
19
+ "})",
20
+ "pm.test('expect response json contain args', function () {",
21
+ " pm.expect(pm.response.json().args).to.have.property('source')",
22
+ " .and.equal('newman-sample-github-collection')",
23
+ "})"
24
+ ]
25
+ }
26
+ }
27
+ ],
28
+ "request": {
29
+ "url": "https://postman-echo.com/get?source=newman-sample-github-collection",
30
+ "method": "GET"
31
+ }
32
+ }
33
+ ]
34
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "newman-reporter-qase",
3
- "version": "v1.0.0-alpha2",
3
+ "version": "v1.0.5",
4
4
  "description": "Qase TMS Newman Reporter",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -31,25 +31,27 @@
31
31
  "license": "Apache-2.0",
32
32
  "devDependencies": {
33
33
  "@hutson/npm-deploy-git-tag": "^6.0.0",
34
- "@types/jest": "^23.3.7",
34
+ "@types/jest": "^26.0.23",
35
35
  "@types/newman": "^5.1.0",
36
36
  "@types/postman-collection": "^3.5.4",
37
37
  "@typescript-eslint/eslint-plugin": "^3.0.2",
38
38
  "@typescript-eslint/eslint-plugin-tslint": "^3.0.2",
39
39
  "@typescript-eslint/parser": "^3.0.2",
40
+ "ansi-regex": "^6.0.1",
40
41
  "axios-mock-adapter": "^1.18.1",
41
42
  "eslint": "^7.1.0",
42
43
  "eslint-loader": "^3.0.2",
43
44
  "eslint-plugin-jsdoc": "^26.0.1",
44
45
  "eslint-plugin-prefer-arrow": "^1.2.1",
45
- "handlebars": "^4.7.6",
46
- "jest": "^26.0.1",
46
+ "handlebars": "^4.7.7",
47
+ "jest": "^26.6.3",
48
+ "json-schema": "^0.4.0",
47
49
  "nodemon": "^2.0.4",
48
- "ts-jest": "^26.1.0",
50
+ "ts-jest": "^26.5.6",
49
51
  "typescript": "^3.9.3"
50
52
  },
51
53
  "dependencies": {
52
54
  "chalk": "^4.1.0",
53
- "qaseio": "^1.1.1"
55
+ "qaseio": "^1.5.0"
54
56
  }
55
57
  }