Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Executable Tutorial submission #2641

Merged
merged 6 commits into from
Oct 16, 2024
Merged

Executable Tutorial submission #2641

merged 6 commits into from
Oct 16, 2024

Conversation

WarlCang
Copy link
Contributor

@WarlCang WarlCang commented Oct 11, 2024

Assignment Proposal

Title

Automated API testing using FastAPI, Startlette TestClient and Git Hooks

Names and KTH ID

Deadline

  • Task 3

Category

  • Executable Tutorial

Description

The executable tutorial will provide a hands-on guide to implementing automated API testing using FastAPI, Starlette TestClient and Git Hooks. Consequently, the tutorial is going to cover the following topics:

  • Setting up the required tools in the environment and creating a git repository
  • Initializing a sample FastAPI project and running the API with Uvicorn
  • Reviewing provided test cases for the sample API.
  • Configuring Git Hooks to run provided Starlette TestClient test cases in automatic manner.
  • Updating source code of the API
  • Automation and regression testing of the new changes to the API

Relevance

Automation of testing is essential in DevOps, since it largely reduces the time taken to manually find pre-existing bugs, as well as significantly lowers the risk of accidentally introducing new ones. Moreover, this is especially vital in the area of API testing, in order to avoid regression bugs and ensure consistent performance and reliability across different environments and versions.

Submission

Github: https://github.com/laykos0/api-testing
Tutorial: https://killercoda.com/laykos0/scenario/api-testing-automation

@WarlCang WarlCang changed the title Executable Toturial submission Executable Tutorial submission Oct 11, 2024
@javierron javierron merged commit e830acd into KTH:2024 Oct 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants