fylein / fyle-interview-intern-backend

44 stars 1.14k forks source link

Wrong Test Cases #65

Open anolkrghosh opened 1 month ago

anolkrghosh commented 1 month ago

Issue: The initial database migration lacks the necessary data for effective test case execution. As a result, running tests on a freshly migrated database will fail initially. Additionally, subsequent tests that modify data in the database will also fail, as they rely on predefined values for comparison. Impact: Test Failure on Fresh Migration: Upon deploying the application with a fresh migration, test cases will fail due to missing or incomplete data in the database. Failure in Subsequent Tests: Tests that modify data in the database will fail due to discrepancies between the expected and actual database states.

Related File: sql_test.py sql_test.py

Screenshot of Initial DB Migration image