Coder Social home page Coder Social logo

peviitor-ro / rarestesthub Goto Github PK

View Code? Open in Web Editor NEW
5.0 0.0 1.0 478.99 MB

Test scraped job details from companies websites against peviitor.ro

Home Page: https://peviitor-ro.github.io/RaresTestHub/api_test_report.html

License: MIT License

Python 100.00%
allure-pytest allure-report api-testing assertions automation automation-testing bs4 data-validation github-actions html-report parallel-testing pytest pytest-xdist python requests web-scraping selenium test-cases

rarestesthub's Introduction

Test Job Scrapers for Peviitor.ro

This project is dedicated to testing the accuracy of job data extraction, for details such as job title, city, country, county, and link which are scraped from companies websites from their careers section. Our primary objective is to ensure precise data extraction and uploading of these information to the Peviitor.ro website.

Features

The project incorporates the following key features:

  • GitHub Actions: Enables automated test workflows directly from GitHub repositories, in this context, ensuring regular test reports for the scrapers
  • Pytest: A testing framework for Python that facilitates efficient and scalable testing.
  • API Testing: In-depth testing of APIs to guarantee data accuracy and reliability.
  • Multiple Assertions: Rigorous validation of multiple data points to ensure comprehensive accuracy.
  • Data Validation: The project emphasizes the importance of verifying scraped data against the information available on peviitor.ro.
  • Allure Reporting: Comprehensive reports are generated regularly for detailed insights of the testing process execution
  • Parallel Running: The ability to run multiple scraping processes concurrently for enhanced efficiency.

API Test Run with parallel running

api-run-xdist.mp4

API Test Run without parallel running

video.run.api.mp4

Allure Report

For detailed insights into the test results, an Allure report is generated, providing a comprehensive overview of the scraping process. The report is updated every day when github actions runs and it can be seen live at https://peviitor-ro.github.io/RaresTestHub/api_test_report.html

allure result 2

Setup

To get started with the project, follow these steps:

  • Install and Configure Python 3: Ensure you have Python 3 installed and properly configured on your system.
  • Set Up Your IDE: Prepare your preferred Integrated Development Environment (IDE) for working on this project.
  • Import Cloned Repository as Project: Clone the repository and import it into your IDE as a new project.
  • Add Folder Path to PYTHONPATH: Include the path of the project folder in the PYTHONPATH variable in your environment settings.
  • Install Required Packages: Use the following command to install all the necessary packages:
pip install -r requirements.txt
  • Running Tests: Execute the tests by running the following command:
pytest

rarestesthub's People

Contributors

actions-user avatar geo843 avatar rarescode avatar stroescudiana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Forkers

proud2bromanian

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.