olvrwn / CashBud

0 stars 0 forks source link

Update ChartsViewModelTest with unit tests for ChartViewModel #85

Open sweep-ai[bot] opened 1 year ago

sweep-ai[bot] commented 1 year ago

PR Feedback (click)

Summary of Changes

Fixes #81.


πŸŽ‰ Latest improvements to Sweep:


πŸ’‘ To get Sweep to edit this pull request, you can:

olvrwn commented 1 year ago

Please implement the unit tests.

sweep-ai[bot] commented 1 year ago

πŸš€ Wrote Changes

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.
olvrwn commented 1 year ago

Write unit tests to test the ChartsViewModel

sweep-ai[bot] commented 1 year ago

πŸš€ Wrote Changes

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.
olvrwn commented 1 year ago

Implement the body of each function

sweep-ai[bot] commented 1 year ago

πŸš€ Wrote Changes

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[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint