Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Testability in AEPCore #765

Open
cdhoffmann opened this issue Jan 20, 2022 · 1 comment
Open

Improve Testability in AEPCore #765

cdhoffmann opened this issue Jan 20, 2022 · 1 comment

Comments

@cdhoffmann
Copy link
Contributor

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.

@cdhoffmann
Copy link
Contributor Author

  • Improve Bundled Rules testability

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant