Skip to content

milosmac94/SimpleConditional1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple Conditional 1 Mentz Challenge

About

For an overview of Mentz, see the Blog Post

This challenge requires simple conditional functionality to be created.

Taking the Challenge

To take the challenge you build out the SimpleConditional1.cls class to satisfy the unit tests. There are a couple of ways of doing this.

Scratch Org

If you want to iterate on your development, use the class in the source format (./force-app) directory in conjunction with a scratch org and the Salesforce CLI force:source:push/pull commands.

Developer Edition

Use the class in the metadata format (./src) directory and the Salesforce CLI to carry out a metadata deployment - there's a package.xml file in place so all you have to do is run:

sfdx force:mdapi:deploy -d src -w 10 -u <username>

if you don't want to deploy the code, you can carry out a check deployment and execute the tests to get the results:

sfdx force:mdapi:deploy -l RunSpecifiedTests -r SimpleConditional1_Test -c -u <username> -d src -w 10

Requesting Mentoring

Ensure you have installed the MENTZ sfdx plugin.

Execute the following command:

sfdx mentz:publish -c "<comment>" -f <solution_filename> -u <username> -m

Parameters:

Name Description
<comment> a comment that raises any areas of concern to the mentor
<solution_filename> the full pathname to your solution class
<username> your username in the Mentz instance

Publishing the solution

Ensure you have installed the MENTZ sfdx plugin.

Execute the following command:

sfdx mentz:publish -c "<comment>" -f <solution_filename> -u <username>

Parameters:

Name Description
<comment> a comment that draws attention to key aspects of your solution
<solution_filename> the full pathname to your solution class
<username> your username in the Mentz instance

About

Simple Apex Conditional Challenge #1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Apex 100.0%