Skip to content

Commit

Permalink
Merge pull request #5 from bun913/feat/add-system-test
Browse files Browse the repository at this point in the history
feat/add system test
  • Loading branch information
bun913 authored Aug 24, 2024
2 parents 07a251f + 71201c1 commit f95214d
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
node_modules
.vscode
.vscode
.env
.DS_Store
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "newman-reporter-neo",
"version": "1.0.52",
"version": "1.0.0",
"description": "TestRail reporter for Newman",
"main": "lib/index.js",
"scripts": {
Expand Down
37 changes: 37 additions & 0 deletions test/systemTest/system_test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"info": {
"_postman_id": "hoge",
"name": "SystemTest",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "10000"
},
"item": [
{
"name": "Get",
"event": [
{
"listen": "test",
"script": {
"exec": [
"pm.test(\"Successful Get request\", function () {",
" pm.expect(pm.response.code).to.be.eq(200);",
"});"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://github.com/bun913/newman-reporter-neo",
"protocol": "https",
"host": ["github", "com"],
"path": ["bun913", "newman-reporter-neo"]
}
},
"response": []
}
]
}

0 comments on commit f95214d

Please sign in to comment.