Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 46741

A unit test is code that is written and executed to test a specific portion/unit of source code. Unit tests are class methods with the testMethod modifier or @isTest annotation and are usually placed in separate test classes annotated with the @isTest annotation. Code that is executed by unit tests is considered covered. At least 75% of an organization's codebase must be covered by unit tests and every trigger must have at least 1% unit test coverage.

0 votes
Accepted

I've written a test class which is giving me only 63% code coverage

After making a few changes in the trigger that was used to update have been able to resolve the issue.
NCSS's user avatar
  • 33
-1 votes
2 answers
77 views

I've written a test class which is giving me only 63% code coverage

Need a minimum of 90% to deploy to production can any one help me with the below code. @isTest(seeAlldata=true) public class Consent_Test{ /** * Utility class used for generating Dummy Data for Te …
NCSS's user avatar
  • 33