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

Remove dependency to SeeAllData #31

Open
nm90 opened this issue Jan 22, 2021 · 0 comments
Open

Remove dependency to SeeAllData #31

nm90 opened this issue Jan 22, 2021 · 0 comments

Comments

@nm90
Copy link

nm90 commented Jan 22, 2021

Using SeeAllData=True is against best practices documented https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_testing_seealldata_using.htm

Since ConnectAPIs are not accessible in data silo'd tests, it would be great to see these examples reworked to use a mock/stubbing framework instead of requiring tests to see all data in an org.

Financial Force has published a robust example of a mock/stubbing framework but, it would be fantastic to have something for salesforce developers leveraging Connect APIs like this to be able to plug-and-play from this repo.

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

No branches or pull requests

1 participant