Questions tagged [test-automation]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
188 views

Test coverage in app exchange

I am uploading the salesforce app on app exchange but while uploading it is showing error in test class but in the developer console it is running perfectly and it showing 87% code coverage Error is (...
0
votes
2answers
167 views

Test Class for triggers

I am new to salesforce and i am writing a test class for the trigger. Can any one tell me how to write a test class for the trigger below trigger CloseParentCommunication on ...
8
votes
1answer
8k views

What causes REQUEST_RUNNING_TOO_LONG test errors?

For most of our clients we've got a basic ant script that does a test deploy every night to make sure all the tests pass. Occassionally, we'll get a REQUEST_RUNNING_TOO_LONG error. What's strange is ...
1
vote
1answer
663 views

Populating Jasmine Angular controller variable before test starts

I am trying to run some tests for some basic angular code that I have written. You can refer to this post for controller code details - https://wordpress.com/read/post/feed/37884742/822834869 But ...
3
votes
1answer
47 views

Capture data during test execution

We have huge number of test classes and we are trying to automate capturing information about existing test classes. Data we are trying to capture is around governer limits (e.g. number of soql ...
-2
votes
1answer
4k views

Constructor not defined error in batch class

I am testing the scheduled batch class in salesforce, during which i am getting the below error : " Error: Compile Error: Constructor not defined: [LicenseOptimizer_BatchClass].(String) at line ...

1
2