Skip to content

sseleznevqa/selenideFramework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 git@github.com: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 ;)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published