Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.03 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.03 KB

SwiftUI List with Test Cases

SwiftUI List

Overview

  • Written in Swift
  • Uses SwiftUI
  • Designed with MVVM pattern
  • Uses combine
  • Uses unit tests
  • Mock service

Test Cases

  • test_CustomerListViewModel_addCustomer_shouldThrowDuplicateCustomerError
  • test_CustomerListViewModel_addCustomer_shouldAddCustomerSuccessfully
  • test_CustomerListViewModel_removeCustomer_shouldThrowNoIndexError
  • test_CustomerListViewModel_removeCustomer_shouldThrowOutOfIndexError
  • test_CustomerListViewModel_addRandomCustomer_shouldReturnCustomers
  • test_CustomerListViewModel_removeCustomer_shouldRemoveCustomerSuccessfully
  • test_CustomerListViewModel_moveCustomer_shouldThrowNewPositionNotValidError
  • test_CustomerListViewModel_moveCustomer_shouldMoveCustomerSuccessfully

Author

Feel free to reach out with issues, questions or anything else.