Select Page

Salesforce Studies

Jan 24, 2021

Trailhead Rank

Status of Studies:
25 Badges
18,400 Points
5 Trails
Current as of 01/24/2021

Don’s Salesforce Trailhead Profile

  • Progress towards Salesforce Developer Certification 15% 15%
Last time I studied for Salesforce development, I completed the Accessibility Basics badge.  After racking up more than 18k points in studying for my Salesforce certification in addition to completing 25 badges and 5 trails on Trailblazer.me, I mentally looked up. And realized I have a very long way to go.  A very, very, very long way to go.  Wasn’t about to quit yet!  I glanced over at my Trailhead profile box to see the next milestone; I needed to earn 25 more badges and 16.6k more points to achieve the expeditioner rank; at which point I’d effectively be 30% finished with my Salesforce Developer studies.  At this point, I grunted and told myself “enough looking up, focus on it step by step.  What matters is what’s in front of you, what’s ahead will come soon enough.”

I’m currently working on the Developer Beginner trail.  As seen from the previous image, I was 66% finished with that trail.  Getting close to wrapping up that one!  So far, of that trail, I’ve finished the following:

  • Platform Development Basics
  • Data Modeling
  • Data Management
  • Data Security
  • Formulas and Validation
  • Lightning Flow
  • Salesforce Mobile App Customization
  • Apex Basics & Database
  • Apex Triggers
  • Quick Start: Visual Studio Code for Salesforce Development

Next up was the Apex Testing module.

This would kick me up another 1.5k points.  Let’s get this show started!

First up, Apex Unit Tests.   By the end of this lesson, I’d be able to:

  • Describe the key benefits of Apex unit tests.
  • Define a class with test methods.
  • Execute all test methods in a class and inspect failures.
  • Create and execute a suite of test classes.

Didn’t seem difficult.  But then It’d be my first time doing an unit test though! This is what I coded:

[java]
@isTest
private class TestVerifyDate {
@isTest static void CheckDatesTesttrue() {
Date date1 = date.today();
Date date2 = date1.addDays(29);
Date t = VerifyDate.CheckDates(date1, date2);
System.assertEquals(t, date2);
}

@isTest static void DateOver() {
Date date1 = date.today();
Date date2 = date1.addDays(31);
Date t = VerifyDate.CheckDates(date1, date2);
System.assertNotEquals(t, date1);
}
}
[/java]

I then ran the unit tests. Seemed to run well. Then I had Trailhead check the challenge; I passed and got 500 points! As it was now 12:16 AM, I decided to call it a night.

Share This