From 3b1af3333d687e354ab9fa0a475ae7ef74b740f9 Mon Sep 17 00:00:00 2001 From: Mavlushechka Date: Tue, 20 Sep 2022 21:13:24 +0500 Subject: Add testing framework --- src/main/resources/config.json | 20 ++++++++++++++++++++ src/main/resources/log4j2.xml | 23 +++++++++++++++++++++++ src/main/resources/testData.json | 3 +++ 3 files changed, 46 insertions(+) create mode 100644 src/main/resources/config.json create mode 100644 src/main/resources/log4j2.xml create mode 100644 src/main/resources/testData.json (limited to 'src/main/resources') diff --git a/src/main/resources/config.json b/src/main/resources/config.json new file mode 100644 index 0000000..2ede7ad --- /dev/null +++ b/src/main/resources/config.json @@ -0,0 +1,20 @@ +{ + "browser": { + "name": "Firefox", + "isIncognito": true, + "isKiosk": true, + "url": "https://userinyerface.com/" + }, + "webDriverWait": { + "durationOfSeconds": 3 + }, + "randomTextGenerator": { + "lettersLowerBound": 97, + "lettersUpperBound": 122, + "length": 10 + }, + "integerUtils": { + "randomNumberMin": 0, + "randomNumberMax": 101 + } +} \ No newline at end of file diff --git a/src/main/resources/log4j2.xml b/src/main/resources/log4j2.xml new file mode 100644 index 0000000..756a521 --- /dev/null +++ b/src/main/resources/log4j2.xml @@ -0,0 +1,23 @@ + + + + + + + + + %d %p %c{1.} [%t] %m%n + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/testData.json b/src/main/resources/testData.json new file mode 100644 index 0000000..0e0dcd2 --- /dev/null +++ b/src/main/resources/testData.json @@ -0,0 +1,3 @@ +{ + +} \ No newline at end of file -- cgit v1.2.3