You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: