Skip to content

ssrjkk/API-test-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HH.ru API Testing Framework

Junior QA Automation Engineer - Python - pytest - Allure Saint Petersburg

Stack

  • Python 3.11
  • pytest 8.1
  • requests 2.31
  • allure-pytest 2.13
  • pytest-env

Structure

Path Description
framework/client/ HTTP client with session and base URL
framework/validators/ Chainable response validator
framework/reporting/ Allure attachment helpers
tests/api/ API tests: vacancies, areas, dictionaries
tests/integration/ End-to-end flow tests
test_data/ Test data: queries, area IDs, filters
configs/ Environment configs (dev/prod)

Run

pip install -r requirements.txt

pytest tests/ -v

ENV=dev pytest tests/ -v

pytest tests/api/test_vacancies.py -v

allure serve reports/allure-results

What is tested

Vacancies

  • Search returns results with correct structure
  • per_page parameter is respected
  • Area filter works for SPb and Moscow
  • Vacancy detail returns all required fields
  • Non-existent vacancy returns 404

Areas

  • Areas list is non-empty
  • Russia and Saint Petersburg exist
  • Response time under 3000ms

Dictionaries

  • All required keys present
  • Experience and employment items have id and name
  • Known experience IDs exist

Integration

  • Search then get vacancy detail - data is consistent
  • Area ID from /areas works in /vacancies filter
  • Experience filter from /dictionaries works in search

Contacts

About

API test framework: pytest, requests, Allure reports, GitHub Actions CI - hh.ru vacancies API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages