Giter VIP home page Giter VIP logo

alfasense's Introduction

##AlfaSense
This is simple test framework which include allure report, idea report. Also, we can launch our application with other parameters.

1. First approach to change the general url before tests will be launch.

  • You can do it with the help application.yaml Find element url in this file and just replace base url and launch the tests
url: USE YOUR BASE URL

alfasense:
  api:
    baseUrl: https://${url}/v2/

2. Second approach to change the general url before tests will be launch.

  • You can do it with the help gradle and variable "host" Open your terminal and write it in your console
.\gradlew test -Dhost=http:\\YOUR BASE URL\

or

gradle test -Dhost=http:\\YOUR BASE URL\

The framework include generation allure report and gradle reports. If you want to generate Allure report you have to install Allure ClI.

  • After Allure ClI will be installed to generate report use the next command :
    allure serve and full path to your directory 
    
    example 
    allure serve C:\Users\IPylnev\IdeaProjects\AlfaSense\build\reports\allure-results
    

##There is Allure report

##There is Allure report

##There is Allure report

##There is gradle report

###Framework to be able to launch other Test Suite.
If you want run only ones endpoint use the following command in your terminal:

  • This one for test pet url
gradle petTest
  • This one for test store url
gradle storeTest

By the way you can combine all these parameters

gradle  petTest -Dhost=http:\\YOUR BASE URL\

alfasense's People

Watchers

 avatar  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.