bcgov / bcgov/wps

Use built in API testing client for FastAPI endpoint tests

Open
#2,003 4 comments 0 reactions 0 assignees View on GitHub
4Refinement Task
Dominant language
Python
Stars
65
Forks
11
Avg merge
21h 25m
Merged PRs (30d)
70

Description

**Describe the task**
Current Gherkin setup is error prone and time consuming. Use the built in api testing functionality that already exist in Fast API: https://fastapi.tiangolo.com/tutorial/testing/#extended-testing-file

**Acceptance Criteria**
- [ ] Any new API endpoint tests are written using the documented testing facilities in FastAPI

**Additional context**
- https://fastapi.tiangolo.com/tutorial/testing/#extended-testing-file

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.