Coder Social home page Coder Social logo

peeba-automation-test's Introduction

peeba-automation-test

This project is built for testing Peeba web application. It is built on top of :

  • Spring Boot: Core to mangage WebDriver bean, Faker bean, etc...
  • Maven: Dependencies management & Test runner
  • TestNG: Test framework to manage test cases
  • Allure: Reporting
  • AssertJ: assertion
  • Jackson : To serialize/deserialize data to/from json file
  1. Introduction:

    • Requirement: We need to have Maven and Java 11 installed and configured properly + any IDE(but preferred IntelliJ IDEA)
    • Clone the repo
  2. Test run command line:

    • We support several test command line for properly custom the test execution.

2.1. Run with Firefox driver:

  • Use: mvn clean test -Dbrowser=firefox
  • Note: Chrome is run by default so no need to pass -Dbrowser=chrome

2.2. Run with specific test suite:

  • User: mvn clean test -DsuiteXMLFile=/path/to/testng.xml

2.3. Run with different env:

  • To do so, please create the application-{env}.properties file inside resources folder, and define all the necessary properties like application.url, etc...
  • For running the test, user: mvn clean test -Dspring.profiles.active={env} with {env} is the name of env that we have binded application properties file.

2.4. Generate report:

  • Use: mvn allure:report

2.5. Visualize the report:

  • Use: mvn allure:serve

peeba-automation-test's People

Contributors

hienhoangminh avatar hienhoang88 avatar

Watchers

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