100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
PD1 Testing, Debugging, and Deployment exam with correct answers 2024 $13.49   Add to cart

Exam (elaborations)

PD1 Testing, Debugging, and Deployment exam with correct answers 2024

 1 view  0 purchase
  • Course
  • PD1 Testing, Debugging, and Deployment
  • Institution
  • PD1 Testing, Debugging, And Deployment

Requirements for test methods (3) correct answers - Static - No params - No return/void How many methods with @TestSetup are allowed in a test class? correct answers 1 What happens if method with @TestSetup fails? correct answers Entire test fails and no test methods are run When is @...

[Show more]

Preview 1 out of 3  pages

  • October 14, 2024
  • 3
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • PD1 Testing, Debugging, and Deployment
  • PD1 Testing, Debugging, and Deployment
avatar-seller
HopeJewels
PD1 Testing, Debugging, and
Deployment

Requirements for test methods (3) correct answers - Static
- No params
- No return/void

How many methods with @TestSetup are allowed in a test class? correct answers 1

What happens if method with @TestSetup fails? correct answers Entire test fails and
no test methods are run

When is @TestSetup not supported? correct answers When test class or method in
class has SeeAllData=true

What lines don't count towards code coverage? (4) correct answers - System.debug
- Comments
- Lines w/ only brackets
- Class definitions

How do you get the ID of standard pricebook when creating pricebook test data?
correct answers Test.getStandardPricebookId()

System.runAs() method (5) correct answers - Can only be used in test methods
- Ignores license limits (can create any number of users)
- Inserts count against DML statements
- Record sharing enforced
- Field level sharing not enforced

T or F: When using System.runAs method(), record sharing is not enforced but field
level permissions are. correct answers False - Record sharing enforced, field level
sharing not enforced

What tests are run when using the default option during a change set? correct answers
Sandbox - no tests
Production - local tests (not in installed managed package)

T or F: When using the Run Specified Tests option during change set, you can specify
test methods. correct answers False

What are trace flags? correct answers Used to activate debug logs

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller HopeJewels. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $13.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

80461 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$13.49
  • (0)
  Add to cart