Which three statements are true regarding the @istest annotation? - ProProfs Discuss
Advertisement

Which three statements are true regarding the @istest annotation?

This question is part of Salesforce Platform Developer Coding Test! Trivia Quiz
Asked by Marcofrancesconuzzo, Last updated: Nov 25, 2020

+ Answer
Request
Question menu
Vote up 1 Vote down

3 Answers

akshay.khunteta

akshay.khunteta

akshay.khunteta
Akshay.khunteta

Answered Jul 24, 2019

B. A method annotated @istest (seealldata=false) in a class annotated @istest (seealladata=true) has access to all org data
C. A method annotated @istest (seealldata=true) in a class annotated @istest (seealladata=false) has access to all org data
D. Profiles are visible in a test even if a class is annotated @istest (seealldata=false)

upvote 1 downvote
Reply 

shilpaads09

shilpaads

shilpaads09
Shilpaads

Answered Nov 05, 2019

A. A method annotated @istest (seealldata=false) in a class annotated @istest (seealladata=true) has access to all org data
B. Amethod annotated @istest (seealldata=true) in a class annotated @istest (seealladata=false) has access to all org data
C. Profiles are visible in a test even if a class is annotated @istest (seealldata=false)

upvote downvote
Reply 

marcofrancesconuzzo

marcofrancesconuzzo

marcofrancesconuzzo
Marcofrancesconuzzo

Answered Jul 12, 2019

A method annotated @istest (seealldata=false) in a class annotated @istest (seealladata=true) has access to all org data
Profiles are visible in a test even if a class is annotated @istest (seealldata=false)
Aclass containing test methods counts toward the apex code liit regardless of any @istest annotation
upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.