Skip to content

Commit

Permalink
Added code coverage request to the command line run all
Browse files Browse the repository at this point in the history
Started a NullDomainTest
  • Loading branch information
rob-baillie-ortoo committed Dec 1, 2021
1 parent 6f449d4 commit 8cfb4f5
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@isTest
private without sharing class NullDomainTest
{
@isTest
private static void constructorClass_buildsANullDomain() // NOPMD: Test method name format
{
NullDomain nullDomain = (NullDomain)new NullDomain.Constructor().construct( new List<Contact>{ new Contact() } );
System.assertNotEquals( null, nullDomain );
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>52.0</apiVersion>
<status>Active</status>
</ApexClass>
2 changes: 1 addition & 1 deletion scripts/helpers/test-and-show-fails.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
echo This may take a while...
sfdx force:apex:test:run -r human | grep -v ' Pass '
sfdx force:apex:test:run -r human --codecoverage | grep -v ' Pass '

0 comments on commit 8cfb4f5

Please sign in to comment.