Giter Site home page Giter Site logo

fstests's Introduction

How to use:

On a local machine:

  • Runs ALL tests with clean old tests results: mvn clean test
  • Runs ALL tests without clean old tests results: mvn test
  • Cleans old tests results: mvn clean
  • Tests(without clean old tests results):
    • API:
      • Runs all API tests: mvn -Dtest=io.thrive.fs.api.tests.*Test test
      • Positive registration scenario with a referral code mvn -Dtest=io.thrive.fs.api.tests.ApiRegistrationTest#registrationWithReferCodeScenarioTest test
      • Positive registration scenario without a referral code mvn -Dtest=io.thrive.fs.api.tests.ApiRegistrationTest#registrationWithoutReferCodeScenarioTest test
      • Positive lvl scenario mvn -Dtest=io.thrive.fs.api.tests.APILvlsTest#lvlsTest test
    • UI:
      • Runs all UI tests: mvn -Dtest=io.thrive.fs.ui.tests.*Test test
      • Positive registration scenario without a referral code mvn -Dtest=io.thrive.fs.ui.tests.UIRegistrationTest#registrationNewUserWithoutReferralCodeTest test
      • Positive registration scenario with a referral code mvn -Dtest=io.thrive.fs.ui.tests.UIRegistrationTest#registrationNewUserWithReferralCodeTest test
      • Alternative positive registration scenario without a referral code mvn -Dtest=io.thrive.fs.ui.tests.HappyFlowRegisteringNewUser2Test test
  • Generate allure project:
    • mvn allure:report - generates an Allure report
    • view the report
    • mvn allure:serve - generates an Allure report and opens it in the default browser

CI/CD(временно не работает):

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:

  1. Download and unzip the artifact reports.zip.

  2. View a report from an unzipped artifact.

    1. When using it for the first time
      1. In the firefox browser, enter 'about:config' in the address bar
      2. After taking the risk and clicking 'show all', set security.fileuri.strict_origin_policy to false
    2. After these settings, you can open index.html using the firefox browser

fstests's People

Contributors

pavlyukovvladimir avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.