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 22306

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.

-1 votes
1 answer
31 views

Unit test with page parameters

I get this above error while trying to pass parameters to page reference. Did I missed something??
Vetriselvan Manoharan's user avatar
0 votes
2 answers
964 views

Need test class for this method

I need test class for the method below: This class is written for overriding the view.. public PageReference redirectGroup() { if(Url.getSalesforceBaseUrl().toExternalForm() == 'https://hello.c …
Vetriselvan Manoharan's user avatar