Giter Club home page Giter Club logo

shop_n_deliver_api's Introduction


Logo

API Test Automation

Test automation framework for REST APIS.

About The Project

The purpose of this project is to showcase how to create a test automation framwork to be used in testing REST APIs and generate a readable report.

Built With:

  • Python.
  • Pytest.
  • Allure reporting template.
  • Requests liblary

Getting Started

These are the steps to follow when you want to run the project locally.

Prerequisites

Items required to be installed before you can start running the tests. These are instructions for a user with a mac device.

  • Python
    brew install python
  • Allure
    brew install allure

Installation

  1. Clone the repo:
    git clone https://github.com/Moukatech/shop_n_deliver_api
  2. Change directory to the cloned project:
     cd shop_n_deliver_api
  3. Install pipenv to create a virtual enviroment and activate it:
    pip install pipenv
    pipenv shell 
  4. Install the required packages from the requirements.txt file:
    pip install -r requirements.txt
  5. To run the tests:
    pytest
  6. To be able to view the test results:
     allure serve allure_report/ 

Example of how the final report should look like.

Allure report Screen Shot

Contact

Lewis Mocha - [email protected]

shop_n_deliver_api's People

Contributors

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