Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

This repository contains a Python test suite for a ToDo app API. The tests are written using pytest and utilize the requests library for API interactions and faker for generating fake data.

NotificationsYou must be signed in to change notification settings

software-ace/todo-API-test-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Run tests and publish the reportPython VersionPytest VersionRequests VersionFaker Version

This repository contains a Python test suite for a ToDo app APIhere is the API documentation.The tests are written using pytest and utilizethe requests library for API interactions and faker for generating fake data.

Setup

Before running the tests, ensure you have Python installed on your machine. You can set up a virtual environment and install the required dependencies using the following commands:

python -m venv venvsource venv/bin/activate# On Windows, use "venv\Scripts\activate"pip install --upgrade pippip install pytest==8.0.0 pytest-html==4.1.1 faker==22.6.0 requests==2.31.0

Running Tests

To run the tests, execute the following command:

pytest --html=testing_results/report.html

This will run the tests and generate an HTML report in thetesting_results directory.

Test Dependencies

  • pytest: A testing framework for Python.
  • pytest-html: A plugin for pytest that produces an HTML report for test results.
  • requests: A Python library for making HTTP requests.
  • faker: A Python library for generating fake data.

Test Report

After running the tests, you can view the detailed test report by opening the generated HTML file in a web browser.The report is located attesting_results/report.html.

View Latest Deployment

View Latest Deployment

About

This repository contains a Python test suite for a ToDo app API. The tests are written using pytest and utilize the requests library for API interactions and faker for generating fake data.

Topics

Resources

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp