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 diff --git a/package.json b/package.json index 046642b..6816df6 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "private": true, "scripts": { "start": "node ./bin/www", - "test": "mocha --reporter mochawesome" + "allure-test": "mocha --reporter mocha-allure-reporter", + "awesome-test": "mocha --reporter mochawesome" }, "dependencies": { "cookie-parser": "~1.4.4", @@ -17,6 +18,7 @@ "devDependencies": { "chai": "^4.2.0", "mocha": "^6.2.2", - "mochawesome": "^4.1.0" + "mochawesome": "^4.1.0", + "mocha-allure-reporter": "^1.4.0" } }