From 9b2cbfef345a932fd6103a8c651ee231567e4549 Mon Sep 17 00:00:00 2001 From: Vadim Kharin Date: Thu, 26 Dec 2019 12:05:13 +0200 Subject: [PATCH 1/3] add allure --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 046642b..76c4b3b 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "start": "node ./bin/www", - "test": "mocha --reporter mochawesome" + "test": "mocha --reporter mocha-allure-reporter" }, "dependencies": { "cookie-parser": "~1.4.4", @@ -17,6 +17,7 @@ "devDependencies": { "chai": "^4.2.0", "mocha": "^6.2.2", - "mochawesome": "^4.1.0" + "mochawesome": "^4.1.0", + "mocha-allure-reporter": "^1.4.0" } } From 00426966e0c00d49d400e728d3b4cd52718144d1 Mon Sep 17 00:00:00 2001 From: Vadim Kharin Date: Thu, 26 Dec 2019 12:13:21 +0200 Subject: [PATCH 2/3] add allure --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 76c4b3b..6816df6 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "private": true, "scripts": { "start": "node ./bin/www", - "test": "mocha --reporter mocha-allure-reporter" + "allure-test": "mocha --reporter mocha-allure-reporter", + "awesome-test": "mocha --reporter mochawesome" }, "dependencies": { "cookie-parser": "~1.4.4", From f364ced3049374a5f0a30b3c1a91ab7ed344a5a7 Mon Sep 17 00:00:00 2001 From: Vadim Kharin Date: Thu, 26 Dec 2019 12:54:20 +0200 Subject: [PATCH 3/3] add allure-results folder --- ...-13c0-4d62-97f5-e0c73db96070-testsuite.xml | 15 ++++++++++++ ...-9b55-4c16-b729-c7461c857db7-testsuite.xml | 15 ++++++++++++ ...-9f9f-4f68-8dcf-0dfd03f14148-testsuite.xml | 23 +++++++++++++++++++ ...-dc2b-4100-9851-6c1afb2c0a3b-testsuite.xml | 23 +++++++++++++++++++ 4 files changed, 76 insertions(+) create mode 100644 allure-results/174ef83b-13c0-4d62-97f5-e0c73db96070-testsuite.xml create mode 100644 allure-results/76d38214-9b55-4c16-b729-c7461c857db7-testsuite.xml create mode 100644 allure-results/c73a0250-9f9f-4f68-8dcf-0dfd03f14148-testsuite.xml create mode 100644 allure-results/cfba05cb-dc2b-4100-9851-6c1afb2c0a3b-testsuite.xml diff --git a/allure-results/174ef83b-13c0-4d62-97f5-e0c73db96070-testsuite.xml b/allure-results/174ef83b-13c0-4d62-97f5-e0c73db96070-testsuite.xml new file mode 100644 index 0000000..f2df58a --- /dev/null +++ b/allure-results/174ef83b-13c0-4d62-97f5-e0c73db96070-testsuite.xml @@ -0,0 +1,15 @@ + + + #test() without arguments + #test() without arguments + + + should return 0 + should return 0 + + + + + + + \ No newline at end of file diff --git a/allure-results/76d38214-9b55-4c16-b729-c7461c857db7-testsuite.xml b/allure-results/76d38214-9b55-4c16-b729-c7461c857db7-testsuite.xml new file mode 100644 index 0000000..99302b7 --- /dev/null +++ b/allure-results/76d38214-9b55-4c16-b729-c7461c857db7-testsuite.xml @@ -0,0 +1,15 @@ + + + #test() without arguments + #test() without arguments + + + should return 0 + should return 0 + + + + + + + \ No newline at end of file diff --git a/allure-results/c73a0250-9f9f-4f68-8dcf-0dfd03f14148-testsuite.xml b/allure-results/c73a0250-9f9f-4f68-8dcf-0dfd03f14148-testsuite.xml new file mode 100644 index 0000000..b01eda8 --- /dev/null +++ b/allure-results/c73a0250-9f9f-4f68-8dcf-0dfd03f14148-testsuite.xml @@ -0,0 +1,23 @@ + + + #test() with number arguments + #test() with number arguments + + + should return sum of arguments + should return sum of arguments + + + + + + + should return argument when only one argument is passed + should return argument when only one argument is passed + + + + + + + \ No newline at end of file diff --git a/allure-results/cfba05cb-dc2b-4100-9851-6c1afb2c0a3b-testsuite.xml b/allure-results/cfba05cb-dc2b-4100-9851-6c1afb2c0a3b-testsuite.xml new file mode 100644 index 0000000..e0b0981 --- /dev/null +++ b/allure-results/cfba05cb-dc2b-4100-9851-6c1afb2c0a3b-testsuite.xml @@ -0,0 +1,23 @@ + + + #test() with number arguments + #test() with number arguments + + + should return sum of arguments + should return sum of arguments + + + + + + + should return argument when only one argument is passed + should return argument when only one argument is passed + + + + + + + \ No newline at end of file