Skip to content

Increase test coverage for ExpenseService (#26)

7bcbea9
Select commit
Loading
Failed to load commit list.
Merged

feat: Add expense service with endpoints for creating, listing, and managing expenses #23

Increase test coverage for ExpenseService (#26)
7bcbea9
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jun 29, 2025 in 0s

85.96% of diff hit (target 81.56%)

View this Pull Request on Codecov

85.96% of diff hit (target 81.56%)

Annotations

Check warning on line 33 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L27-L33

Added lines #L27 - L33 were not covered by tests

Check warning on line 48 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L46-L48

Added lines #L46 - L48 were not covered by tests

Check warning on line 55 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L51-L55

Added lines #L51 - L55 were not covered by tests

Check warning on line 70 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L64-L70

Added lines #L64 - L70 were not covered by tests

Check warning on line 89 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L80-L89

Added lines #L80 - L89 were not covered by tests

Check warning on line 106 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L98-L106

Added lines #L98 - L106 were not covered by tests

Check warning on line 118 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L118

Added line #L118 was not covered by tests

Check warning on line 120 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L120

Added line #L120 was not covered by tests

Check warning on line 124 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L123-L124

Added lines #L123 - L124 were not covered by tests

Check warning on line 128 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L128

Added line #L128 was not covered by tests

Check warning on line 131 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L131

Added line #L131 was not covered by tests

Check warning on line 133 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L133

Added line #L133 was not covered by tests

Check warning on line 140 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L137-L140

Added lines #L137 - L140 were not covered by tests

Check warning on line 150 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L150

Added line #L150 was not covered by tests

Check warning on line 152 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L152

Added line #L152 was not covered by tests

Check warning on line 160 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L156-L160

Added lines #L156 - L160 were not covered by tests

Check warning on line 177 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L171-L177

Added lines #L171 - L177 were not covered by tests

Check warning on line 189 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L189

Added line #L189 was not covered by tests

Check warning on line 191 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L191

Added line #L191 was not covered by tests

Check warning on line 196 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L196

Added line #L196 was not covered by tests

Check warning on line 200 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L199-L200

Added lines #L199 - L200 were not covered by tests

Check warning on line 205 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L205

Added line #L205 was not covered by tests

Check warning on line 207 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L207

Added line #L207 was not covered by tests

Check warning on line 225 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L222-L225

Added lines #L222 - L225 were not covered by tests

Check warning on line 240 in backend/app/expenses/routes.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

backend/app/expenses/routes.py#L234-L240

Added lines #L234 - L240 were not covered by tests