You need to sign in to do that
Don't have an account?
alx
Deployment Woes
hey everyone,
I am trying to deploy an edited version of a class already scheduled in live salesforce.
I am getting the following errors:
I have uploaded many small scheduling tasks and triggers into SF without test classes and they've gone through. However, this time i got a Deploy Error. Is there a work around without having to write a ton of test classes?
I have done extensive testing in the sandbox for my upload and it has been fine. The edits contained in NDA counter are really small for my the already up and running version in live SF.
any help is appreciated.
if the average coverage is 75% you can deploy but in your case the average coverage is 62%.Write some test classes for them so that the coverage goes up
Alex,
For your trigger, are you using any test data that is specific to sandbox?
I suspect this might be the problem if your trigger has more than 75% coverage in sandbox and unable to deploy to production.
Let me know how it goes.
Thanks,
Sales4ce
I have no idea how to write test classes for batch apex. Or for any apex for that matter.
I have looked at the documentation, but I do not understand what exactly is going on. Does anyone have any tips on how ot learn Apex without taking the class? This is really frustrating for me.
Here is my apex batch class. I have a few that are fairly similar ot it, but none have test classes.
Here's what i have so far. I dont know what goes in between Test.start and Test.StopTest.
bump