This repository was archived by the owner on Jan 20, 2024. It is now read-only.
Fixed broken tests in the package that were calling too many futures.#15
Open
ckoppelman wants to merge 1 commit intoSalesforceLabs:masterfrom
Open
Fixed broken tests in the package that were calling too many futures.#15ckoppelman wants to merge 1 commit intoSalesforceLabs:masterfrom
ckoppelman wants to merge 1 commit intoSalesforceLabs:masterfrom
Conversation
Many of the tests on ActionPlans unmanaged package were broken. They called too many futures. This was due to either creating more than one user (one at a time) or adding a whole lot of action plans and data in a test case. For the user creation issue, I made it possible to create users at the beginning. For the lots of data issue, I broke up the test cases into one test case per type of item. That all seemed to work and give decent test coverage. I also added an @istest annotation to one test class that lacked it (thereby lowering our code coverage stats).
Author
|
I can rewrite this with entabbed whitespace if that would get it accepted. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Many of the tests on ActionPlans unmanaged package were broken. They called too many futures. This was due to either creating more than one user (one at a time) or adding a whole lot of action plans and data in a test case. For the user creation issue, I made it possible to create users at the beginning. For the lots of data issue, I broke up the test cases into one test case per type of item. That all seemed to work and give decent test coverage. I also added an @istest annotation to one test class that lacked it (thereby lowering our code coverage stats).