Past Meetup

DevTalks DF14: Apex Unit Testing with ApexMocks Framework

Hosted by FinancialForce DevTalks

Public group

This Meetup is past

70 people went

SPUR

654 Mission Street · San Francisco, CA

How to find us

The SPUR Urban Center at 654 Mission Street

Location image of event venue

Details

Greetings! Please join us for our next FinancialForce DevTalks event during DF14 on Wed Oct 15, 2014 at SPUR Urban Center (ERPcentral) in San Francisco.

You must RSVP to be able to attend. See you there!
@FinancialForce (http://www.twitter.com/financialforce)

PRESENTERS:

Andy Fawcett, CTO & Force.com MVP
Chris Peterson, Sr. PSA Developer & Force.com MVP
Jesse Altman, Software Engineer & Force.com MVP
Carolina Ruiz Medina, Principal Developer in Product Innovation & Force.com MVP

AGENDA:

4:00pm – 4:30pm: Pizza, Beer and Networking
4:30pm – 5:00pm: Intro by Andy Fawcett - Force.com Enterprise Architecture
5:00pm – 6:00pm: Presentation by Jesse Altman

INTRO BY ANDY FAWCETT:

Force.com Enterprise Architecture: Blend industry best practices to architect, deliver, and engage users with packaged applications that cater to all your enterprise business needs. (https://www.packtpub.com/forcecom-enterprise-architecture/book)

PRESENTATION:

ApexMocks, an open source framework, was designed to bring Mockito like functionality to Apex. By being able to utilize mock classes, true unit tests can now be run in Apex as opposed to the integration tests that are run now. Mock objects can be used to focus on specific pieces of functionality, mocking or simulating different scenarios in unit tests by controlling the dependencies of a class and only running the relevant code to that test. This opens the door to a true test driven development (TDD) process.

This session will dive into specific reasons to use ApexMocks, followed by insight into how ApexMocks works behind the scenes, concluded with real examples of the ApexMocks framework in action.