Myrcin
Myrcin
CC#
Created by Myrcin on 11/19/2024 in #help
Class separation
I've got a console app that does a lot of heavy lifting. Let's say it's got a service class (that performs http calls) as a dependency and the main class is calling it a multitude of times. The unit testing for the main class of the console app is becoming huge. Is it a good approach to just create a class that aggregates all the calls to the service class?
7 replies