- Runs ALL tests with clean old tests results:
./gradlew clean test
- Runs ALL tests without clean old tests results:
./gradlew test
- Cleans old tests results:
./gradlew clean
- Tests(without clean old tests results):
- API:
- Runs all API tests:
./gradlew test --tests io.thrive.fs.api.tests.*
- Positive registration scenario with a referral code
./gradlew test --tests io.thrive.fs.api.tests.ApiRegistrationTest.registrationScenarioWithReferCode
- Positive registration scenario without a referral code
./gradlew test --tests io.thrive.fs.api.tests.ApiRegistrationTest.registrationScenarioWithoutReferCode
- Runs all API tests:
- UI:
- Runs all UI tests:
./gradlew test --tests io.thrive.fs.ui.tests.HappyFlowRegisteringNewUserTest
- Runs all UI tests:
- API:
- Generate allure project:
./gradlew allureReport
- generate Allure report- view the report
./gradlew allureServe
- generate Allure report and opens it in the default browser
Each commit initiates the launch of tests, packs the folder with reports into an archive and transfers it to artifacts
To view the test report, you must:
-
Download and unzip the artifact reports.zip.
-
View a report from an unzipped artifact.
- When using it for the first time
- In the firefox browser, enter 'about:config' in the address bar
- After taking the risk and clicking 'show all', set security.fileuri.strict_origin_policy to false
- After these settings, you can open index.html using the firefox browser
- When using it for the first time