LightningFlowComponents icon indicating copy to clipboard operation
LightningFlowComponents copied to clipboard

Test Classes to go with component

Open dcarroll opened this issue 4 years ago • 4 comments

@alexed1 It would be super helpful to included test classes for the Apex associated with these components. I work with partners and customers who really like what you have done here and for the most part could just deploy these into their solutions but may not be Apex experts and writing tests is hard for them.

What say a bit of best practices?

dcarroll avatar May 05 '20 00:05 dcarroll

most of the stuff in the repo is deployable in packages and so the apex has test coverage. Which one(s) did you spot that weren't deployable that way?

alexed1 avatar May 05 '20 02:05 alexed1

:-)

On Mon, May 4, 2020 at 10:04 PM Alex Edelstein [email protected] wrote:

[image: image] https://user-images.githubusercontent.com/3140883/81029473-f2711a00-8e39-11ea-8f4a-af0f4a808a29.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alexed1/LightningFlowComponents/issues/353#issuecomment-623797880, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF4UHX4IOARCAHWBX2BHXZ3RP5X2DANCNFSM4MZF75YQ .

ericrsmith35 avatar May 05 '20 10:05 ericrsmith35

I was curious which test class covers 'FindRecordInCollection'

adwhite75 avatar May 05 '20 19:05 adwhite75

It's the CollectionProcessors which is a very handy package, but it's not a managed package and there is not a lot of test coverage. I have an org that has basically no code and I can't deploy 1 new class because the overall code coverage is lower than 75%

JodieM avatar Jul 05 '22 01:07 JodieM