Giter Club home page Giter Club logo

selenideframework's Introduction

selenideFramework

What's that?

It is a framework based on Java, Gradle, Junit5, Selenide


Reports?

Allure reporting is onboard


Decisions?

  • PageObject pattern
  • Selenide style Pageobjects (logic inside)
  • One class (Goto) as PageObjects library
  • 1 File with test = 1 test
  • testcases are childs of testSuites
  • Less methods in Test classes
  • Data for test is stored in the special class
  • Parallel execution is a default (except Safari)
  • Safari, Chrome, Firefox are always onboard
  • More descriptions and attachs to the report

Instalation

You need:

  • MacOs or Linux
  • Gradle 7.3.1 at least
  • Allure (the latest preferably)
  • allure should be in $PATH
  • Java 17
  • Chrome and Firefox (or at least one of them)
  • Some luck

You can try to downgrade Java or gradle for the project. But no promises.

You do:

git clone [email protected]:sseleznevqa/selenideFramework.git
cd selenideFramework

Yea. That's it.


Run tests

You do:

gradle clean chrome
//or
gradle clean firefox
//or
gradle clean safari
//or to start chrome and firefox
gradle clean chromeFox
//or to start everything
gradle clean test

Note! clean is necessary to generate a fresh report. But it vanishes all the old reports

Watch reports


Note! reports are generated separately for each browser for the Greater Good

gradle chromeAllure
gradle firefoxAllure
gradle safariAllure

If something went terribly wrong (tests deleted the Universe, or run was without "clean") last report could be viewed as

gradle allureServe

Well, I hope.


Thanks for reading

I am really happy that you are reading this line ;)

selenideframework's People

Contributors

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