This PR adds unit tests to the TransactionsManagerTest.swift file in the CashBud project. The unit tests cover different scenarios, such as creating a transaction, updating a transaction, and deleting a transaction. The LocalPersistenceServiceMock is used to avoid dependencies during testing.
Summary of Changes
Added LocalPersistenceServiceMock.swift file to provide a mock implementation of the LocalPersistenceService class.
Modified TransactionsManagerTest.swift to include unit tests for the TransactionsManager.
Modified CashBud.xcodeproj/project.pbxproj to include the LocalPersistenceServiceMock.swift file.
Updated README.md to include a description of the added unit tests.
Fixes #42.
🎉 Latest improvements to Sweep:
Getting Sweep to run linters before committing! Check out Sweep Sandbox Configs to set it up.
Added support for self-hosting! Check out Self-hosting Sweep to get started.
[Self Hosting] Multiple options to compute vector embeddings, configure your .env file using VECTOR_EMBEDDING_SOURCE
💡 To get Sweep to edit this pull request, you can:
Leave a comment below to get Sweep to edit the entire PR
Leave a comment in the code will only modify the file
Edit the original issue to get Sweep to recreate the PR from scratch
Description
This PR adds unit tests to the TransactionsManagerTest.swift file in the CashBud project. The unit tests cover different scenarios, such as creating a transaction, updating a transaction, and deleting a transaction. The LocalPersistenceServiceMock is used to avoid dependencies during testing.
Summary of Changes
Fixes #42.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: