exam questions

Exam CRT-450 All Questions

View all questions & answers for the CRT-450 exam

Exam CRT-450 topic 1 question 101 discussion

Actual exam question from Salesforce's CRT-450
Question #: 101
Topic #: 1
[All CRT-450 Questions]

A developer wants multiple test classes to use the same set of test data.
How should the developer create the test data?

  • A. Reference a test utility class in each test class.
  • B. Define variables for test records in each test class.
  • C. Create a Test Setup method for each test class.
  • D. Use the SeeAllData=true annotation in each test class.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Balrick
Highly Voted 2 years, 6 months ago
The correct answer is A. Reference a test utility class in each test class. https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_testing_utility_classes.htm
upvoted 24 times
...
ApexMike
Highly Voted 1 year, 4 months ago
Selected Answer: A
A is the correct answer here.
upvoted 5 times
...
helper_raw
Most Recent 2 months, 4 weeks ago
Selected Answer: A
A. Reference a test utility class in each test class. Most Voted
upvoted 1 times
...
Nand072
6 months, 2 weeks ago
Selected Answer: A
I tried this, trust me, A is the correct answer.
upvoted 2 times
...
BeatrizBernardo
8 months, 1 week ago
Selected Answer: A
The answer is A
upvoted 1 times
...
PegasusFromUranus
1 year, 9 months ago
Selected Answer: A
It's is correct as said Balrick
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago