Skip to content
Clean Swift
Clean Architecture + TDD. Code less. Test more.
  • Handbook
  • Testing
  • Mentorship
  • Store
  • Services
  • Work
  • Blog
  • About

Tag: worker

Uncategorized

Clean Swift TDD Part 3 – Worker

Posted on November 18, 2015 by Raymond / 13 Comments

In part 1 and part 2, you tested the ListOrdersViewController and ListOrdersInteractor, respectively. But we left it kind of hanging because we mocked out the O...

Uncategorized

Clean Swift TDD Part 2 – Interactor

Posted on November 10, 2015 by Raymond / 6 Comments

In my TDD part 1 post, you wrote a test to make sure ListOrdersViewController invoke the fetchOrders() method of the ListOrdersInteractor. Now, it’s time to mak...

Uncategorized

Reader Question: If the business logic is inside of the Workers, then what’s the purpose of the interactor?

Posted on October 7, 2015 by Raymond / 14 Comments

Marq asked a question on the role of the interactor and worker on my post about Testing Business Logic in Interactor. I would be curious to see more about the w...

© 2025 Clean Swift LLC. All rights reserved. Privacy and Terms.
Powered by WordPress | Theme: Graphy by Themegraphy