Currently it is very difficult to test many classes in AEPCore because we are not using the following Swift paradigms as much as we should be:
Protocol Oriented Programming:
Look into using protocols more instead of concrete classes in order to allow us to create more mocks
Dependency Injection / ServiceProvider:
Use service provider and dependency injection and chaining more rather than instantiating dependencies in each class. This will allow us to have more control when mocking and testing classes.
Currently it is very difficult to test many classes in AEPCore because we are not using the following Swift paradigms as much as we should be:
Protocol Oriented Programming: Look into using protocols more instead of concrete classes in order to allow us to create more mocks
Dependency Injection / ServiceProvider: Use service provider and dependency injection and chaining more rather than instantiating dependencies in each class. This will allow us to have more control when mocking and testing classes.
Look into other solutions to improve testability.