Open sweep-ai[bot] opened 1 year ago
Please implement the unit tests.
Please implement the unit tests.
Hi @olvrwn,
I decided to make the following changes:
File Path | Proposed Changes |
---|---|
CashBudTests/Tests/ViewModels/ChartsViewModelTest.swift |
Modify CashBudTests/Tests/ViewModels/ChartsViewModelTest.swift with contents: β’ Add unit tests to test the ChartViewModel. β’ Use the TransactionsManagerMock with all necessary variables set in the unit tests. |
Write unit tests to test the ChartsViewModel
Write unit tests to test the ChartsViewModel
Hi @olvrwn,
I decided to make the following changes:
File Path | Proposed Changes |
---|---|
CashBudTests/Tests/ViewModels/ChartsViewModelTest.swift |
Modify CashBudTests/Tests/ViewModels/ChartsViewModelTest.swift with contents: β’ Add unit tests for the ChartsViewModel in the "ChartsViewModelTest" class. β’ Write test cases to cover different scenarios and ensure the proper functionality of the ChartsViewModel. |
Implement the body of each function
Implement the body of each function
Hi @olvrwn,
I decided to make the following changes:
File Path | Proposed Changes |
---|---|
CashBudTests/Tests/ViewModels/ChartsViewModelTest.swift |
Modify CashBudTests/Tests/ViewModels/ChartsViewModelTest.swift with contents: β’ Implement the body of each function in the ChartsViewModelTest.swift file. |
SonarCloud Quality Gate failed.
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
0.0% Coverage
0.0% Duplication
Catch issues before they fail your Quality Gate with our IDE extension SonarLint
PR Feedback (click)
Description
This PR updates the ChartsViewModelTest.swift file to include unit tests for the ChartViewModel. The unit tests are created to ensure the proper functionality of the ChartViewModel. The TransactionsManagerMock is used with all necessary variables set in the unit tests.
Summary of Changes
Fixes #81.
π Latest improvements to Sweep:
π‘ To get Sweep to edit this pull request, you can: