Add tests for the API #417

Closed
opened 2026-02-28 19:03:16 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @j-f1 on GitHub (May 29, 2023).

Presently, there are no automated tests for the API beyond making sure it builds successfully. We should have some tests that spin up a server, run through some/all of the supported ops, and check a few error cases. This would make it less likely that unrelated changes would accidentally break the API.

Originally created by @j-f1 on GitHub (May 29, 2023). Presently, there are no automated tests for the API beyond making sure it builds successfully. We should have some tests that spin up a server, run through some/all of the supported ops, and check a few error cases. This would make it less likely that unrelated changes would accidentally break the API.
GiteaMirror added the tech debtmaintenanceAPI labels 2026-02-28 19:03:16 -06:00
Author
Owner

@twk3 commented on GitHub (Dec 5, 2023):

with https://github.com/actualbudget/actual/pull/1991 and https://github.com/actualbudget/actual/pull/2036 about half the current API functions are covered

should be short work to finish the rest

@twk3 commented on GitHub (Dec 5, 2023): with https://github.com/actualbudget/actual/pull/1991 and https://github.com/actualbudget/actual/pull/2036 about half the current API functions are covered should be short work to finish the rest
Author
Owner

@MatissJanis commented on GitHub (Mar 26, 2024):

@twk3 I believe we can now close this issue. Can you confirm?

@MatissJanis commented on GitHub (Mar 26, 2024): @twk3 I believe we can now close this issue. Can you confirm?
Author
Owner

@twk3 commented on GitHub (Mar 27, 2024):

Yes let's close it. There are a few less common handlers like runQuery that aren't covered. But all the ones that represent entities are now in place.

@twk3 commented on GitHub (Mar 27, 2024): Yes let's close it. There are a few less common handlers like runQuery that aren't covered. But all the ones that represent entities are now in place.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#417