aticie / Mapper-Influences-Backend

0 stars 0 forks source link

TESTS! INTEGRATION TESTS! #30

Closed 112batuhan closed 3 months ago

112batuhan commented 3 months ago

closes #27 The goal is to test if the endpoints work as whole. I didn't go too hard on the assertions and settled on assert len(response.json()) >= 1 and assert response.status == 200 for most of the endpoints since FastAPI is doing data validation on pydantic models every response. We use that to validate output shape.

Ready to merge.

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

112batuhan commented 3 months ago

With new stuff, we can close #29