Beelzebot777 / Pelusa-BackEnd-Strateger-Public

Strateger
0 stars 0 forks source link

Alarms Testing. #26

Closed Beelzebot777 closed 4 days ago

Beelzebot777 commented 1 week ago

Testing Frameworks

Test Cases

Sample Test Code

def test_create_item(client):
    response = client.post("/api/your-endpoint", json={"field1": "value1"})
    assert response.status_code == 201
    assert response.json()["data"]["field1"] == "value1"

Coverage

Beelzebot777 commented 4 days ago

Done in commit: '27ed44281710f002c8b1090c852550ee02537c41' (https://github.com/Beelzebot777/Pelusa-Docs-Public/commit/27ed44281710f002c8b1090c852550ee02537c41)