Skip to content
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
PolarisProject:master
Open

Fixed broken tests in the package that were calling too many futures.#15
ckoppelman wants to merge 1 commit intoSalesforceLabs:masterfrom
PolarisProject:master

Conversation

@ckoppelman
Copy link
Copy Markdown

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).

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).
@ckoppelman
Copy link
Copy Markdown
Author

I can rewrite this with entabbed whitespace if that would get it accepted.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant