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 proposal #2521

Merged
merged 4 commits into from
Sep 26, 2024
Merged

Executable tutorial proposal #2521

merged 4 commits into from
Sep 26, 2024

Conversation

WarlCang
Copy link
Contributor

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.

@WarlCang WarlCang closed this Sep 22, 2024
@DD2485-bot
Copy link

Missing student registration :jry

If not from your group, fetch the upstream.

@WarlCang WarlCang reopened this Sep 22, 2024
@algomaster99 algomaster99 self-assigned this Sep 26, 2024
@algomaster99
Copy link
Collaborator

Looks good to me!

@algomaster99 algomaster99 merged commit 5002e29 into KTH:2024 Sep 26, 2024
4 checks 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.

3 participants