Unit Testing, Apex Enterprise Patterns and ApexMocks – Part 1
If you attended my Advanced Apex Enterprise Patterns session at Dreamforce 2014 you’ll have heard me highlight the different between Apex tests that are either written as true unit test vs those...
View ArticleUnit Testing, Apex Enterprise Patterns and ApexMocks – Part 2
In Part 1 of this blog series i introduced a new means of applying true unit testing to Apex code leveraging the Apex Enterprise Patterns. Covering the differences between true unit testing vs...
View ArticleWorking with Apex Mocks Matchers and Unit Of Work
The Apex Mocks framework gained a new feature recently, namely Matchers. This new feature means that we can start verifying what records and their fields values are being passed to a mocked Unit Of...
View ArticleAn API junkies perspective on Spring’17
As a self confessed API junkie, each time the new Salesforce platform release notes land. I tend to head straight to anything API related, such as sections on REST API, Metadata, Tooling, Streaming,...
View ArticleForce.com Enterprise Architecture Second Edition
I am proud to announce the publication of the second edition of my book Force.com Enterprise Architecture. In this blog we take a look at what the book covers for new readers and for those who have...
View ArticleTest Driven Development, Mocking and Force DI
In this blog I want to highlight the use of Test.createStub with Force DI, to effectively inject mock implementations of dependent classes. We will go through a small example showing a top-level class...
View ArticleFinancialForce Apex Common Community Updates
This short blog highlights a batch of new features recently merged to the FinancialForce Apex Common library aka fflib. In addition to the various Dreamforce and blog resources linked from the repo,...
View Article
More Pages to Explore .....