Questions tagged [failing-tests]

A unit test is code that is written and executed to test a specific portion/unit of source code. Tests that do not pass are considered failing. Tests that do not generate desired coverage are still considered to pass.

Filter by
Sorted by
Tagged with
0
votes
2answers
1k views

Validation Rule Causing Deployment Issue

I'm trying to deploy a few items to production. I tested all my classes/triggers and they are all at 90% or higher. Unfortunately, there is a class a consultant had written before I was here that is ...
3
votes
1answer
198 views

apex test class

Pretty straight forward question: is it possible to run tests without using the Developer Console? I've reached my 5,000 max API Calls and I don't want to wait till' tomorrow to be able to keep ...
0
votes
1answer
624 views

Test method not passing for duplicate trigger which checks for duplicate email (error : System.AssertException: Assertion Failed)

hi this is my trigger to test duplicate between two email address which is working fine and also it allows duplicate if the checkbox "allow_duplicate__c" is selected, but there is a problem with test ...
16
votes
4answers
7k views

How to handle installed Managed Packages failing tests?

I have several AppExchange apps installed that are failing tests. What is the recommended approach to resolving this? Are tests run when a new package is installed? Is there a way to determine what is ...
2
votes
1answer
1k views

How can tests fail in production?

This question is connected to my previous question here: User with read only profile updates records We have a test case that started failing recently. It is also failing in production. As far as I ...